mobxjs/mobx-vue-lite

Is `enableStaticRendering` needed when used on vercel?

Closed this issue · 2 comments

Like the enableStaticRendering of mobx-react-lite:

import { enableStaticRendering } from "mobx-react-lite"

enableStaticRendering(isServer())

In mobx-react-lite there is a note about SSR environment:

Call enableStaticRendering(true) when running in an SSR environment, in which observer wrapped components should never re-render, but cleanup after the first rendering automatically. Use isUsingStaticRendering() to inspect the current setting.

Do we need to worry about this when using mobx-vue-lite?

If not, why?

(I am new to mobx, want to learn more about this.)