Replies: 2 comments 4 replies
-
|
Which mobx-react / mobx-react-lite version ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
mobx-react version Here is an example of my _app.tsx next.js page where I initialize the store. This worked correctly until I updated this dependency, but now after the async logic in getInitialProps I get the store with the initial state on client |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a frontend app written on next.js + mst (I use getInitialProps as SSR method)
So, all of a sudden after updating the yarn.lock file, store on the ssr side stopped to update :(
This dependency cause the problem:
mobx@^6.3.2:
version "6.10.1"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.10.1.tgz#4bf9a838d7a99dc7f9d6cdf35e2ea1bd62f5561a"
integrity sha512-oKibSy1GDJI+KfCKbqgFbxYt7DcpZ6jkq9byTzr9AYDGWOg4snI9Ux21U3hpFqhK4Ouw78CJQomRDbfXo1R6pg==
This works fine:
mobx@^6.3.2:
version "6.9.0"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.9.0.tgz#8a894c26417c05bed2cf7499322e589ee9787397"
integrity sha512-HdKewQEREEJgsWnErClfbFoVebze6rGazxFLU/XUyrII8dORfVszN1V0BMRnQSzcgsNNtkX8DHj3nC6cdWE9YQ==
Is it a bug or something that break backward compatibility? Thnx you in advance for a help 😊
Beta Was this translation helpful? Give feedback.
All reactions