Skip to content

Set Zustand store value based on input name attribute? #699

Closed Answered by dai-shi
lkdm asked this question in Q&A
Discussion options

You must be logged in to vote

useStore.setState({ [name]: value })?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lkdm
Comment options

@dai-shi
Comment options

@lkdm
Comment options

Answer selected by lkdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants