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

implement localStorage solution to maintain state between sessions #3

Closed
hamilton opened this issue Aug 10, 2017 · 0 comments
Closed
Assignees

Comments

@hamilton
Copy link
Contributor

hamilton commented Aug 10, 2017

Given that this app uses react + redux, and the stored state of the app is fundamentally just a big json object, we can save this in local storage so that this early-stage app can persist for a particular user.

As a starting point, let's simply make a big 'save' button to save the state to local storage. I attempted to save the state to local storage with each state change (which happens with every cell edit right now) and that made the app a little fussy.

We can use #16 to capture the name of the notebook, which can be saved w/ a simple, serialized key-value pair.

@hamilton hamilton added this to the 0.1a - early alpha milestone Aug 10, 2017
@hamilton hamilton self-assigned this Aug 29, 2017
hamilton added a commit that referenced this issue Sep 5, 2017
@hamilton hamilton changed the title implement localStorage to maintain state implement localStorage solution to maintain state between sessions Sep 7, 2017
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