I was able to write an internal website, very input form heavy, in about 4 days, having never used Svelte before. I estimate the same work would have taken me a minimum of 2-3 weeks using React + Redux. FWIW I've written tens of thousands of lines of React.
Svelte's state management is so simple to use, if you are writing some sort of CRUD app, use Svelte, not React.
Does any body uses Redux these days? For forms, native FormData api covers most of the use cases without the need to manage any state. And for more advanced use cases, React Hook Form is the best https://react-hook-form.com/.
For other types of state management, use:
- react-query: Server cache (api requests and cache results, mutations, etc)
- Zustand of Zotai for actual application state management (only if necessary)
New projects, hopefully not, but there are untold millions of lines of existing code out there that use Redux, in code bases that will continue to grow their usage of redux.
One change to one item in the global store will fire up subscriptions for every single item in the store. I don't care how fast those comparison checks are thanks to Immutable.js, it's still a big waste of CPU.
The performance of their first showcase site is extremely slow. Svelte's fault? Even if the API is slow behind it, why would it block the rendering of some content? https://www.attendzen.io/
I work at AttendZen -- our product is built using Svelte, but our marketing website (currently) isn't. I'll investigate to see what may have caused a slowdown here, but it's definitely not down to Svelte.
I was able to write an internal website, very input form heavy, in about 4 days, having never used Svelte before. I estimate the same work would have taken me a minimum of 2-3 weeks using React + Redux. FWIW I've written tens of thousands of lines of React.
Svelte's state management is so simple to use, if you are writing some sort of CRUD app, use Svelte, not React.