Replies: 1 comment
-
Anyone who knows? I also need this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
codesandbox example: https://codesandbox.io/s/adoring-poincare-h86t8?file=/src/App.js:1344-1370
Expected behaviour: Click the button above checkboxes, the state printed out in the bottom should toggle true/false.
Actual result: The state printed out in the bottom gets stucked at false after first click.
Why doesn't the state update more than once?
Beta Was this translation helpful? Give feedback.
All reactions