-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix not update state when unmounted #4819
Conversation
🦋 Changeset detectedLatest commit: 89719e5 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks reasonable. Will land it once the tests pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok just needs a change set and then we can land this.
I'll try. |
Added changeset. |
* fix not update state when unmounted * add changeset
It was first introduced in ianstormtaylor#4819 but then the usage of this ref was removed with ianstormtaylor#4874 So the ref remained unused since then.
Description
Changed so that the state of the slate component is not updated when unmounting.
Issue
Fixes: #4818
Checks
yarn test
.yarn lint
. (Fix errors withyarn fix
.)yarn start
.)yarn changeset add
.)