-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, this hook uses the useState hook for state management. When a state of key is updated, it's not reflected in other states of the same key.
cost [user, userDispatch] = useLocalStorage('user')
cost [user2, user2Dispatch] = useLocalStorage('user')
userDispatch.reset(); // updates the user, not user2To resolve this we can use redux instance if a project is using redux for their state management.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request