Skip to content

use a record/object as a signal doesn't seem to work with react #487

Answered by rschristian
tcoopman asked this question in Q&A
Discussion options

You must be logged in to vote

Don't use Object.assign, create a new object and assign that, i.e., disclosure.value = {...disclosure.value, [id]: state }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tcoopman
Comment options

@rschristian
Comment options

Answer selected by tcoopman
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