Closed bhoomit closed 8 years ago
you can stub it in your code with something like
import adapter from 'redux-localstorage/lib/adapters/localStorage'
const localStore = window.localStorage || {}
adapter(window.localStorage)
...
Hi @bhoomit,
Should be fixed now! (1.0.0-rc5)
@elgerlambert thanks :) Will check.
I'm using 1.0.0-rc5 and seeing exceptions when localStorage
is not available, is the solution above still necessary (doing some sort of stub) to handle those cases?
disregard my comment! ✌
There are two cases where I'm having trouble.
In both the cases local-storage is not available and it stops executing further.
How should I fix this issue?