4 ms·
Have you used Svelte? I can’t see why anyone would like React more. The only upside I think react has it’s the IBM of frontend. No one has been fired for choosi
by victorbjorklund 5mo ago
Have you used Svelte? I can’t see why anyone would like React more. The only upside I think react has it’s the IBM of frontend. No one has been fired for choosing React.
- stevepotter 5mo agoSvelte is cool although I didn't have some big epiphany. I'm not going to use Svelte because "it compiles" and "is faster" when my existing React app performs very well. Plus there are some libraries for my specific use case that didn't exist in Svelte. I know people love things besides React, and I would be happy to see it unseated. Sure I'm part of the problem but it's been good to me and I have bigger fish to fry.
- bryanhogan 5mo ago> Plus there are some libraries for my specific use case that didn't exist in Svelte. A lot of these libraries aren't needed in Svelte because 1) the functionality might already be built into Svelte, and 2) you can use any JavaScript library directly, unlike in React where you often need a React-specific wrapper. Not saying that applies to your specific use case, but I've seen this argument way too many times.
- narvidas 5mo agoAs someone who has written both React and Svelte for many years I must interject. React is itself just a library. No, you don’t need any specific “wrappers” for it. Let’s not mislead the readers here.
- owebmaster 5mo agoA wrapper is a quite common pattern in react, even if it's just to create some hooks and call it react-anything
- brikym 5mo agoJust use JS libraries. You don't need wrappers.
- theflyinghorse 5mo agoCurrently rewriting nextjs app into sveltekit. It’s going surprisingly smoothly. Don’t know about svelte vs react yet BUT sveltekit is far more straightforward than nextjs has far better DX and is somehow faster
- satvikpendem 5mo agoMore library support for React over any other framework. I also like explicit state change over implicit.