How are Plasmic ssg/ssr pages rendered?

Hello everyone When we use plasmic-codegen by default, how are ssg/ssr pages rendered? And if we get data from embedded integrations on a page or in a component created in plasmic, what will be the rendering mode?

Codegen support SSG and SSR the same way, including with fetching data https://docs.plasmic.app/learn/data-code-components/#pre-rendering-query-data