What's new in Svelte: November 2022
svelte.dev
svelte.dev
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.
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.
For simple forms, redux buys you nothing, but it is easily 3x the code.