using enableStaticRender()
on the server causes "read outside a reactive context" warnings on server
#3648
Labels
enableStaticRender()
on the server causes "read outside a reactive context" warnings on server
#3648
Intended outcome:
Trying to prevent memory leaks on SSR using the
enableStaticRendering()
function while also avoiding warnings about data being read outside a reactive contextActual outcome:
Calling
enableStaticRendering()
causes the mobx warnings to be produced on my server.How to reproduce the issue:
I can't provided a code sandbox since it doesn't support server-side rendering
Versions
latest versions of
mobx
andmobx-react
The text was updated successfully, but these errors were encountered: