Created
April 26, 2019 10:03
-
-
Save morellodev/a63d27d8e8a353b19f44bff9e7ba7b51 to your computer and use it in GitHub Desktop.
LocalStorage - Retrieve Serialized Data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const serializedData = localStorage.getItem('data'); | |
| const myData = JSON.parse(serializedData); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment