Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Fake storage API for universal environment #4

Open
chernodub opened this issue Nov 4, 2022 · 0 comments
Open

Fake storage API for universal environment #4

chernodub opened this issue Nov 4, 2022 · 0 comments

Comments

@chernodub
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant