Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Redux with Next.js Per-route state #4713

Open
raky291 opened this issue Jun 26, 2024 · 1 comment
Open

[Docs] Redux with Next.js Per-route state #4713

raky291 opened this issue Jun 26, 2024 · 1 comment

Comments

@raky291
Copy link

raky291 commented Jun 26, 2024

What docs page needs to be fixed?

What is the problem?

I'm learning Nextjs and want to setup Redux in Nextjs but this section is not very clear to me Additional Configuration > Per-route state, also the source code is not available in the documentation. It seems as if the documentation is not updated, it doesn't match with the project npx create-next-app --example with-redux my-app.

image

What should be changed to fix the problem?

Adding an example would be useful to understand why I should initialize the store again, and in what situation I should do it.

@billymoon
Copy link

I am having the same problem. I created a fork from nextjs repo with-redux example with minimal reproduction...

vercel/next.js@7343c29

And attempt to explain it here: https://github.com/billymoon/next.js/blob/canary/examples/with-redux/problem.md

I also opened a ticket on next js repo here: vercel/next.js#68434

Very interested if anyone has any leads on how to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants