Skip to content

extractRehydrationInfo giving "TypeError: iterator method is not callable" since Redux Toolkit 2.7.0 #4981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pmk1c opened this issue May 13, 2025 · 0 comments
Labels
bug Something isn't working RTK-Query

Comments

@pmk1c
Copy link

pmk1c commented May 13, 2025

We're using RTK Query with extractRehydrationInfo to persist state with Redux Persist.

Since Version 2.7.0 we're getting a TypeError: iterator method is not callable, when rehydrating from a persisted state. It looks like this commit is responsible: 9eb51e9

I think line 541 needs to be fixed by using provided.tags instead of provided, but I'm not sure.

I just downgraded Redux Toolkit to 2.6.1 for now.

pmk1c referenced this issue May 13, 2025
* Restructure provided tags to improve deletion perf

* Accept array of provided tag entries internally for perf
@markerikson markerikson added bug Something isn't working RTK-Query labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working RTK-Query
Projects
None yet
Development

No branches or pull requests

2 participants