reduxjs / react-redux

Official React bindings for Redux
https://react-redux.js.org
MIT License
23.27k stars 3.36k forks source link

Getting issue in middleware of configureStore when update redux-toolkit to 2.0.1 #2128

Closed abhishekantala24 closed 3 months ago

abhishekantala24 commented 3 months ago

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

What is the current behavior?

https://stackoverflow.com/q/77952583/23185273

What is the expected behavior?

https://stackoverflow.com/q/77952583/23185273

Which browser and OS are affected by this issue?

all

Did this work in previous versions of React Redux?

markerikson commented 3 months ago

Please don't just link to external posts. If you're having a problem, we need a CodeSandbox or a Github repo that shows this happening (and especially if you're using something like a custom middleware).

That said, my guess is that the type for your custom middleware is incorrect.