Skip to content

Corrects how localStorage could be used #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2019
Merged

Corrects how localStorage could be used #533

merged 1 commit into from
Jul 17, 2019

Conversation

ManuelRauber
Copy link

You can not provide localStorage directly via useValue, you need to have a factory for that.

You can not provide `localStorage` directly via `useValue`, you need to have a factory for that.
@jeroenheijmans
Copy link
Collaborator

LGTM, I found exactly the same thing when using the library.

This might've come with the latest version of the library, as I have an app still on 4.x, which does provide it with useValue...

@manfredsteyer manfredsteyer merged commit a5f9e38 into manfredsteyer:master Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants