< Back to c/react-query

All 2 comments


user image

Zeeshan Saleem

You definitely don't need Redux just for client state. React Query handles the server state (which is usually 90% of what we put in Redux anyway). For the rest, strictly client-side state, React Context or a lightweight library like Zustand is perfect.

user image

Zeeshan Saleem

Second this. I replaced a massive Redux boilerplate with just React Query and Zustand. My bundle size dropped significantly, and the code is so much easier to read now.