Replies: 1 comment
-
Yes, legacy Redux code and RTK code can co-exist at the same time, even in the same store. We generally recommend converting to use See our migration guide doc: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
As the title mentions, this is a call for help.
I have a legacy app built with CRA, React, Redux, and Redux-Saga 😅, and we need to upgrade it. The first step was switching to Vite and starting to migrate some classes and files to TypeScript.
Now, we are considering how to modernize our app's state management, reducers, etc. We've used RTK and RTK Query in other projects and liked them. So the question is: Is there a way to migrate the Redux state to RTK in steps? Can we have two states—one using the old code and one using the new RTK?
We are completely lost at this step, and trying to migrate all the state-related code, reducers, and middleware at once seems like a recipe for disaster.
Any ideas would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions