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

Page refresh issue - nx #280

Closed
a5hik opened this issue Feb 19, 2018 · 2 comments
Closed

Page refresh issue - nx #280

a5hik opened this issue Feb 19, 2018 · 2 comments
Labels

Comments

@a5hik
Copy link

a5hik commented Feb 19, 2018

Does nx has any built in mechanism to support losing state when refreshing page? What is the real purpose of data persistence api and its underlying api? Does it solves the above issue? If not what is the recommendation. I see the ngrx sample uses index dB? If then do we have samples with nx?

@Yonet
Copy link
Contributor

Yonet commented Feb 21, 2018

@a5hik nx does not have a built in mechanism for saving data on refreshed page. DataPersistence is a helper function to persist server state while the session is active. You can read more about it here:
https://nrwl.io/nx/guide-data-persistence and here: https://blog.nrwl.io/using-ngrx-4-to-manage-state-in-angular-applications-64e7a1f84b7b

@Yonet Yonet closed this as completed Feb 21, 2018
@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants