Replies: 1 comment
-
Yeah that seems reasonable. If you change it like that when it goes to diff it doesn't see a diff and it never notifies. I'm open to a PR, or I will get around to it when I'm able. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Mutating
x
(the state) inside a setState "setter func" is almost always wrong (most of the times). Can we restrict this by using Typescript'sReadonly<T>
wrapper?Beta Was this translation helpful? Give feedback.
All reactions