Skip to content

Upgrade to Redux Toolkit 2 and react-redux 9 #8140

Description

@talissoncosta

Is your feature request related to a problem?

Two problems:

  • We run react-redux@8.0.2 under React 19.2, outside its declared peer range (^16.8 || ^17 || ^18).
  • RTK 1.9 has no skipPollingIfUnfocused, so the onboarding verify console cannot stop polling a backgrounded tab without hand-rolled timer logic.

Describe the solution you'd like.

Upgrade @reduxjs/toolkit to 2.x and react-redux to 9.x (redux 5 comes with them).

Describe alternatives you've considered

Staying on 1.9 and hand-rolling a visibility listener plus interval state in the polling hook. That is more code, untested, and gets deleted the moment we upgrade anyway.

Additional context

The three breaking changes that usually dominate this upgrade do not apply here: configureStore already uses the middleware callback form, no slice uses extraReducers, and there are no connect() calls.

Metadata

Metadata

Assignees

Labels

front-endIssue related to the React Front End Dashboard

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions