Skip to content

fix(mobx-react-lite): Ensure onBecomeUnobserved is properly called immediately on unmount of components that did suspend#4609

Open
Nokel81 wants to merge 4 commits intomobxjs:mainfrom
Nokel81:ensure-onBecomeUnobserved-is-called-immedately
Open

fix(mobx-react-lite): Ensure onBecomeUnobserved is properly called immediately on unmount of components that did suspend#4609
Nokel81 wants to merge 4 commits intomobxjs:mainfrom
Nokel81:ensure-onBecomeUnobserved-is-called-immedately

Conversation

@Nokel81
Copy link
Copy Markdown
Contributor

@Nokel81 Nokel81 commented Jan 21, 2026

Reworked #3777

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 21, 2026

⚠️ No Changeset found

Latest commit: 3d882d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

…mediately on unmount of components that did suspend
@Nokel81 Nokel81 force-pushed the ensure-onBecomeUnobserved-is-called-immedately branch from de2d6e7 to d54fb91 Compare January 21, 2026 16:58
@Nokel81
Copy link
Copy Markdown
Contributor Author

Nokel81 commented Jan 21, 2026

Note: This fix is not complete I have a unit test that fails

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant