chernodub/ngx-lss

Fake storage API for universal environment

chernodub opened this issue · 0 comments

thanks to https://github.com/dbitkovski for the idea

Probably it would be a good idea to just use a stub implementation of localStorage whenever it is not available in the global context. Or, we could optionally allow passing a custom stub provider under a lightweight injection token when the module is injected.