Don't let makeClassComponentObserver mutate original class? #3886
jzhan-canva
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Bringing back an old issue #2841

I think it's possible to make the original class immutable by doing this
still pass all unit tests
* fails only one unit test in disposeOnUnmount.test
Beta Was this translation helpful? Give feedback.
All reactions