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

Save form data to local state #4

Open
GooBall opened this issue Aug 7, 2019 · 0 comments
Open

Save form data to local state #4

GooBall opened this issue Aug 7, 2019 · 0 comments

Comments

@GooBall
Copy link

GooBall commented Aug 7, 2019

A good first step would be to add state data to local storage every time state changes (and load the app from it too if it exists).

The next, more performant, step would be to save the state only when the component is unmounted/page is closed.

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