Skip to content

Conversation

@devalbo
Copy link
Contributor

@devalbo devalbo commented Oct 6, 2019

I love the concept of this library! I'm using it with Typescript and it's not parsing/deserializing arrays/objects from the string value in the store from the onLocalStorageChange event in a different browser tab. This means if I've initialized a value as an array of strings, when the component gets re-rendered, the value that's being assigned is the string value from storage, not the typed string array I'm intending.

I think a change along the lines of this Pull Request should fix this.

@jharrilim jharrilim self-assigned this Oct 20, 2019
@jharrilim jharrilim merged commit 0ef52c2 into rehooks:master Oct 20, 2019
@jharrilim
Copy link
Collaborator

Thanks!

@iamsolankiamit
Copy link
Member

published in v1.7.0

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