Skip to content
Discussion options

You must be logged in to vote

The next-redux-wrapper lib uses getInitialProps under the hood when you wrap the _app.js: https://github.com/kirill-konshin/next-redux-wrapper#app.

If you want to take advantage of the Automatic Static Optimization then you should you the per page wrapper with the hydration that @kirill-konshin built-in in version 6: https://github.com/kirill-konshin/next-redux-wrapper#usage

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant