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

Redux ORM session reset with SSR #463

Open
ahmed847 opened this issue Feb 26, 2020 · 0 comments
Open

Redux ORM session reset with SSR #463

ahmed847 opened this issue Feb 26, 2020 · 0 comments

Comments

@ahmed847
Copy link

Hi,
Thanks for this amazing library!
We using redux-orm in next.js framework which supports Server-side rendering by default.

The issue is that when the page is loaded for the first time the next.js framework uses SSR for rendering the page and creates session object to get model's data. But once the application is loaded in the browser the session object resets and the model's data is lost. However my custom redux store is maintained throughout the entire process.

Could anyone guide me over this issue?

Next.js verison = ^9.2.0
Redux-orm version = ^0.16.1

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

1 participant