Skip to content
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

cycle case when using computed + getRoot #556

Open
marbemac opened this issue Feb 20, 2025 · 0 comments
Open

cycle case when using computed + getRoot #556

marbemac opened this issue Feb 20, 2025 · 0 comments

Comments

@marbemac
Copy link

Basically it seems that computeds that use getRoot and attempt to access observables that no longer exist can run into a cycle error? TBH I'm not sure, but I've got a reproduction. Note that this error is only visible if the mobx disableErrorBoundaries option is set to true.

Image

Reproduction: https://github.com/marbemac/mobx-keystone-circular-error (instructions to run in the readme).

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

No branches or pull requests

1 participant