3 ms·
I know svelte is a very common choice for larger news sites to build interactive stories. Ive specifically heart of NYT using it as well as pudding.cool. It ma
by msdrigg 4y ago
I know svelte is a very common choice for larger news sites to build interactive stories. Ive specifically heart of NYT using it as well as pudding.cool.
It makes sense for this small website extension because you can build and compile a small component without having to bundle the entire react runtime in.
- zozbot234 4y ago> It makes sense because you can build and compile a small component without having to bundle the entire react runtime in. Fixed.
- d1sxeyes 4y agoThe guy who created it, Rich Harris, used to work for the New York Times and developed it while he was there. So it's not a big surprise that NYT use it. I'm not sure about many other 'larger news sites' using it, but one place I have seen it out in the wild in a big production app is the Apple Music web app.
- vbezhenar 4y agoHow did he managed to push his own framework. I’d love to rewrite the world, that’s so much more fun than converting Json to sql. But it would be a very hard sell to management to write our own framework instead of using something battle tested like spring boot.
- pastor_bob 4y agoWell the Jeremy Ashkenas (of Backbone, Underscore, CoffeeScript) and Mike Bostock (of D3) used to work there as well and I'm pretty sure the NYTimes pretty heavily embraced some of those libraries with impressive results, so it's probably part of the culture there.
- azemetre 4y agoRich Harris did a lot of data viz work (IIRC) during his tenure at the NYT. I don't know if you have experience working with D3 and other template/view libraries but it's always been painful. D3 can also append the dom, so it makes certain parts of the API harder to use. There's also the need to work with large amounts of array values that are uniquely made with D3 (various SVG paths). I can easily see multiple teams adopting it if it makes writing interactive data visualizations that much easier. Supposedly Svelte is able to do this very well, haven't had the chance to try it with D3 myself.
- d1sxeyes 4y agoHe also started at the Guardian in UK developing Ractive, which I'm sure formed part of his job interview at the NYT.