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.
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)