You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@urugator you are right, I replaced getServerSnapshot with adm.getSnapshot and the double rendering didn't happen. Should I create a PR with getServerSnapshot replaced?
Intended outcome:
Render a component wrapped in
observer
once.Actual outcome:
Component wrapped in
observer
made two renders.How to reproduce the issue:
Repro:
mobx
andmobx-react-lite
reactStrictMode: false
in next.config.jsResult:
If downgrade
mobx-react-lite
to3.4.3
:I also tried to reproduce this bug with a pure react application, but everything works fine there (with 4.0.5 and 3.4.3 versions).
If build and run the application, the bug remains.
Versions
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: