kirill-konshin / next-redux-wrapper

Redux wrapper for Next.js
MIT License
2.67k stars 265 forks source link

Gipp testcase and example page in RTK repo #514

Closed voinik closed 1 year ago

voinik commented 1 year ago

This should show that all combinations we test work properly.

Sidenote: It's very important (and this took me quite a while) to properly write the App.GIP if you're using Page.GIP (which you shouldn't). You must import App from next/app, and you must await App.getInitialProps, and merge its data into your return in your own App.getInitialProps. And you must do your dispatches before you do that await.