Skip to content

Local storage example#13

Open
cosmovane wants to merge 4 commits intogeneralui:masterfrom
cosmovane:local-storage-example
Open

Local storage example#13
cosmovane wants to merge 4 commits intogeneralui:masterfrom
cosmovane:local-storage-example

Conversation

@cosmovane
Copy link
Copy Markdown

This PR resolves issue #8
It includes an example (in examples/persistence-local-storage) to show how to add persistence with local storage using the virtual store.

Any suggestion is welcomed :)

@drumnation
Copy link
Copy Markdown

I tried to do this in react native which uses AsyncStorage instead of LocalStorage which requires a promise await AsyncStorage.getItem('TASKS');` and had some issues. If anyone has success with this and can provide an example that would be appreciated.

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

Successfully merging this pull request may close these issues.

3 participants