export MyApp without wrapper.withRedux(MyApp) in ReduxToolkit usage #521
PavelChugreev
started this conversation in
General
Replies: 1 comment
-
|
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 there!
First of all, thanks a lot for this package, I found it really usefull.
I just ask you to add notice to documentation (https://github.com/kirill-konshin/next-redux-wrapper#redux-toolkit)
about the way of export MyApp.
I had been spending a lot of debugging hours, before I realized that I had not to use
with ReduxToolkit package.
https://github.com/kirill-konshin/next-redux-wrapper/blob/master/packages/demo-redux-toolkit/pages/_app.tsx#L39
comparing with vanila Redux or Redux-Sagas
https://github.com/kirill-konshin/next-redux-wrapper/blob/master/packages/demo-page/src/pages/_app.tsx#L7
It affects me during updating server store in
Component.getInitialProps
method.I was not able to get actual values
Hope, it will be even more useful for developers who will face the same problem
Beta Was this translation helpful? Give feedback.
All reactions