-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering Strategies (prerender
vs SSR vs CSR)
#951
Labels
documentation
Greenwood specific docs
RFC
Proposal and changes to workflows, architecture, APIs, etc
v0.30.0
Milestone
Comments
thescientist13
added
the
RFC
Proposal and changes to workflows, architecture, APIs, etc
label
Jun 29, 2022
This was referenced Jun 29, 2022
Closed
7 tasks
thescientist13
moved this to 🔖 Ready
in [Greenwood] Phase 9 - Standards and Conventions
Oct 29, 2022
13 tasks
12 tasks
20 tasks
Closed
31 tasks
9 tasks
Documenting as part of the new website - ProjectEvergreen/www.greenwoodjs.dev#117 |
thescientist13
moved this from 🔖 Ready
to 👀 In review
in [Greenwood] Phase 9 - Standards and Conventions
Oct 22, 2024
github-project-automation
bot
moved this from 👀 In review
to ✅ Done
in [Greenwood] Phase 9 - Standards and Conventions
Nov 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Greenwood specific docs
RFC
Proposal and changes to workflows, architecture, APIs, etc
v0.30.0
Summary
Coming out of #921 / #879, just wanted to track and make sure we are accurately accounting for the various cases of rendering and how / when to use them, and how we document them
Adding support for
prerender
in development would also be supper awesome here.Details
At least break them down a bit clearer and when they happen, and what the JS output / delivery is
prerender
- CSR (or SSR) run JS once at build time, e.g. puppeteer (one time render)export const prerender = true;
export
-> prerender SSR at build time to produce SSG (e.g.getStaticProps
)csr = false
instead of static optimization, but how in HTML? (custom<script setup>
block?)prerender
configuration to be an optimization setting?It should also cover how client side JavaScript plays a role, hydration, eager / lazy loading, etc.
Also, for instance using the GraphQL plugin requires needing to set
prerender
configuration totrue
as well as only working with the puppeteer rendering plugin? Should validate if this can work with WCC SSR too.Maybe worth looking into along with #545
Also, need to handle
globalThis
as per ProjectEvergreen/wcc#100, and possibly refactoring / documenting usingglobalThis
instead ofwindow
, like in the router.The text was updated successfully, but these errors were encountered: