Skip to content

Help migrating legacy redux app to RTK #4922

@acanimal

Description

@acanimal

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions