Purpose of official with-redux example #17232
Unanswered
ashishrainagit2
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have added the store in _app.js, simple like this:
Store is shared when navigating client side and initial store is provided when server side(refreshing), What purpose is solved by with-redux example, Can't wrap my head around it. I understand the working , but cant understand the purpose, when we can simple add redux in _app without creating store every time and get the same functionality.
https://github.com/vercel/next.js/tree/canary/examples/with-redux
Beta Was this translation helpful? Give feedback.
All reactions