I need to implement HTML5 local storage, and also provide support for users that dont have this available in their browser.
After doing some research, I came upon this post HERE , which offered exactly what I needed. In the solutions, someone mentioned PersistJS , which has a lot of fallback methods to save data if localStorage fails.
My question is, is this library still working properly? (No updates for over 2 years on the repository).
And also, maybe there are newer alternatives to achieving this?
Thanks a lot.
For such questions always take a look at https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills which lists polyfills for almost every new feature.
Which contains a list for LocalStorage as well https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills#web-storage-localstorage-and-sessionstorage
In particular, this one seems active: https://github.com/marcuswestin/store.js
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.