Should strict mode be turned off on Server Side Rendering (SSR)? #2731
Replies: 2 comments 4 replies
-
What MobX warnings you have in mind? Please be as specific as possible. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yeah I'd disable it on SSR, not having a reactive context is pretty much
what you want server side :)
…On Tue, Jan 19, 2021 at 3:43 PM Robert S. ***@***.***> wrote:
Sorry, below is a sample of warnings.
Also here is the branch if you wanted to check out
https://github.com/codeBelt/mobx-local-global-stores/tree/mobx-stores
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Computed value ***@***.*** is being read outside a reactive context. Doing a full recompute
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Computed value ***@***.*** is being read outside a reactive context. Doing a full recompute
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.***? being read outside a reactive context
[mobx] Computed value ***@***.*** is being read outside a reactive context. Doing a full recompute
[mobx] Observable ***@***.*** being read outside a reactive context
[mobx] Observable ***@***.*** being read outside a reactive context
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2731 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBEC5AX6GZRSH44U7ETS2WSDZANCNFSM4WI3Z66Q>
.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
codeBelt
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Should I be worried by MobX warnings on server-side? I am using Next.js and I am thinking strict mode should only be in the browser?
Beta Was this translation helpful? Give feedback.
All reactions