Fang Jin
Aug 29, 2024

--

My main issue with redux is that we tend to make redux the ONE for business. But this is not right. Because when we develop on web, we just code, like writing a book, the data can be everywhere, mutable/immutable. There's no way people say you have to define a data on the front and separate with the app. If you do that, that creates a lot of other problems down the road.

IMHO, we need a store, that's all, but we don't want something that writes the business for us. So zustand seems smaller in this scope, same as swr or react query. Not to mention it takes too much effort to write redux.

--

--

Fang Jin
Fang Jin

Written by Fang Jin

Front-end Engineer, book author of “Designing React Hooks the Right Way” and "Think in Recursion"

No responses yet