Handle disabled localStorage gracefully
Instead of failing with a cryptic error in the dev console, this commit allows the app to keep working and skips the localStorage persistance if no localStorage is available.
Instead of failing with a cryptic error in the dev console, this commit allows the app to keep working and skips the localStorage persistance if no localStorage is available.
Use console.warn instead of error
Instead of checking against null, probably better to check more broadly
Rebase.