Replies: 1 comment 2 replies
-
mobx-react and mobx-react-lite are not deprecated, they've been moved to this monorepo: https://github.com/mobxjs/mobx/tree/main/packages It's written here: https://github.com/mobxjs/mobx-react#-this-repo-has-been-moved-to-mobx So to use mobx with react you either do mobx-react already includes mobx-react-lite and adds class component support |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi mobx experts!
I am trying to use mobx and I find that mobx-react (and mobx-react-lite) is deprecated: https://github.com/mobxjs/mobx-react . That repo has not been updated since Christmas 2020. It's odd because the mobx README mentions mobx-react in its example snippets.
How should I use mobx-react if it's deprecated? Can I get mobx-react by only doing
npm install mobx
and not doingnpm install mobx-react
?I think it's causing some issues like
I tried
but that didn't help.
Thank you,
kovkev
Beta Was this translation helpful? Give feedback.
All reactions