In this screencast I demonstrate localStorage & how to use it, along with the limitations. To get around some of these issues, I show you the brilliant Store.js, which acts as a library around localStorage & provides fallbacks too.
If you'd like to watch in HD, feel free to view the video on Vimeo to watch in HD.
Links in the screencast:
Update: after doing this screencast, I made a pull request to the Store.js repository, adding
store.enabled. This was accepted, so if you wish now to check for
store.enabled, you can, without having to do that piece of code I show in the screencast.
Any feedback, questions, etc is always warmly welcomed. I'm still new to screencasting, so hopefully I'll get better as I do more but your thoughts would be great.
Don't miss my latest course on Testing React with Enyzme and Jest! The first five videos are free and available to watch now. You'll learn how to write testable React code, test complex components and use Jest and Enzyme effectively to write clean, thorough tests. Get started now.
Subscribe to keep up to date with the latest content.
Join the JS Playground mailing list to be kept up to date with the latest tutorials, screencasts and more. You won't be spammed and you can unsubscribe at any time.