Closed thescientist13 closed 11 months ago
resolves #952
async loader
getServerSideProps
getFrontmatter.static
export const prerender = true
getStaticProps
loader
export const prerender
prerender: true
getStaticPaths
loaders
imports
resources
path
url
getFrontmatter
getTemplates
getBody
Related Issue
resolves #952
Summary of Changes
constructor props for SSR pages request time data (akaasync loader
functiongetServerSideProps
)getFrontmatter.static
->export const prerender = true
(akagetStaticProps
)Web Server Components (WSCs) andloader
export const prerender
prerender: true
/ custom imports alternative to PuppeteerTODO
getStaticPaths
- I think this depends on landing #882 , so will need to track there insteadThoughts / Questions
loaders
pattern vs RSC flavor page components? - https://github.com/ProjectEvergreen/greenwood/pull/1157/files#r1349748857imports
field toresources
in frontmatter for graphpath
->url
(instance of URL)Rethink SSR pages API (- will save this for #955getFrontmatter
,getTemplates
,getBody
, etc)context plugins as part of SSR (for pages and templates work?)- tracking in #955refactor context, move all things into manifest.json- tracking in #955