This article was originally published on my blog. Feel free to check it out
Local storage allows us to store the data in the user's browser. The d...
For further actions, you may consider blocking this person and/or reporting abuse
Also if you need to let your local storage expire after a certain amount of time, store.js is a pretty useful library for local storage that lets you do that.
Thank you have been using localStorage in couple of projects and never used store.js. Always good to know there is such a way to make localStorage works like a cookie.
you can just do
feels more natural.
I know that, but I don't think it is a good practice to follow.