4 ms·
What are they using now?
by BodyCulture 2y ago
What are they using now?
- hobofan 2y agoIn early days React, which was also the time where SPAs were popular, Redux was popular, as with an SPA you usually have to manage a lot of local state, which is benefits a lot by having a central managed state. With SPAs becoming less popular, more state moving to the server again (trying to keep local state in sync with remote DB state for a long lived session is a PITA), and React hooks making medium-size state management more accessible, bigger frameworks such as Redux became less popular. Nowadays you have usually have a lot of individual sections of components with hooks-based state, rather than having everything connected to a central Redux store. You usually still have some form of global state management though, in the form of e.g. a shared react-query cache (used for data fetching). Besides that libraries like react-hook-form that handle state management for specific use cases have also become more popular.
- BodyCulture 2y agoThank you very much for your lovely explanation, interesting developments!