My personal reference working with useReducer
`useReducer` helps us to manage mutiple states. It manages every state within a central place.To understand `useReducer`, I like to think about it as different people having different responsibilities.
I will be walking us through configuring our domain. If your are new to domain usage, this will prove to be a valuable guide
`useReducer` helps us to manage mutiple states. It manages every state within a central place.To understand `useReducer`, I like to think about it as different people having different responsibilities.
Here I have compiled my understanding of React Query (TanStack Query) over the months and simplified it into my personal study reference. This is mainly written for myself, but I believe it can also serve as a good starting guide for someone who is new to learning TanStack Query.
Normally, all state updates in React are urgent. If you click a button or type in an input and it triggers a slow render, the browser freezes until the render is complete. useTransition fixes this by making updates "non-urgent" (interruptible).