State management #19
Replies: 3 comments 5 replies
-
|
Here are some usecases where I use Redux
About the cons of Redux
export const store = configureStore({
reducer: {
chat: chatReducer,
},
});In the React Native if we open multiple Chat pages, the data in chat reducer will be overlapped |
Beta Was this translation helpful? Give feedback.
-
|
Regarding to React Query The most most brilliant is that there will be only 1 request sent to the API. as I mentioned here, React Query can solve state management majority of server-side state and handling it. also,
Here are some cons:
Comparing React Query and SWR
React Query and SWR look pretty similar, but there are actually some differences.
|
Beta Was this translation helpful? Give feedback.
-
|
How about RTK Query, it was recommended in the admin panel template mtg. Has anyone used this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Discuss about pros and cons of each library
Beta Was this translation helpful? Give feedback.
All reactions