Open NathanWalker opened 8 years ago
Good points, definitely needed once everything is working (I am looking to make a demo based on https://github.com/bahmutov/hydrate-vdom-todo)
I haven't looked at this lib too deeply, but are there constraints around how much data you can stuff into localStorage? Especially on mobile platforms?
so localStorage is very problematic - it has 5MB at most limit, and the behavior varies across browsers how and if it is going to ask. I suggest using localForage project - it works across any available data storage
This is more of a to-do to myself to create a PR to broaden the browser support for this. I'm pretty sure there's service worker support in Safari (desktop and mobile) and chrome mobile or at least a way to make it work from what I've read in past.