Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Localstorage support #82

Closed
wants to merge 3 commits into from
Closed

Localstorage support #82

wants to merge 3 commits into from

Conversation

liamzebedee
Copy link
Contributor

This adds local storage support, meaning the Redux store state is saved automatically using redux-persist.

This means we don't have to redo the whole form flow when iterating on features ✌️

Also added a URL flag which will reset the state for the next page refresh. Visiting http://localhost:3000/xyz?resetState=1 will clear the store, and the next refresh will be anew.

Closes #26

@mhluongo
Copy link
Member

Note that URL + refresh won't work in the dev environment, since nothing but / is being routed...

@liamzebedee
Copy link
Contributor Author

liamzebedee commented Aug 26, 2019

Ok puting this on the backburner until we finish #84 and have a robust architecture for form flow / routes.

@liamzebedee
Copy link
Contributor Author

But also 😉 someone fix the load balancer please

@mhluongo mhluongo deleted the localstorage branch July 15, 2020 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add localstorage support to Redux store
2 participants