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

mobx-react v9 upgrade #2432

Open
YuHsuan-Hwang opened this issue Nov 15, 2024 · 0 comments
Open

mobx-react v9 upgrade #2432

YuHsuan-Hwang opened this issue Nov 15, 2024 · 0 comments
Labels
code maintenance For issues relating to code maintenance and quality R&D For issues that require R&D

Comments

@YuHsuan-Hwang
Copy link
Collaborator

mobx-react v7 to v9 introduces a breaking change that will require large changes. Computed values and reactions no longer response to (and accept) react states and props. Looks like we will need to create observable copies for all props that are used in computed values and reactions, which could be a huge work.

Details: https://github.com/mobxjs/mobx/tree/main/packages/mobx-react#note-on-using-props-and-state-in-derivations

@YuHsuan-Hwang YuHsuan-Hwang added code maintenance For issues relating to code maintenance and quality R&D For issues that require R&D labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code maintenance For issues relating to code maintenance and quality R&D For issues that require R&D
Projects
None yet
Development

No branches or pull requests

1 participant