Svelte · Junior · Question 59 of 76
What does export const prerender = true in +page.js do?
- ✓Correct answer: Generates the page as static HTML at build time
- 2Disables JavaScript on the page
- 3Loads the page before the user clicks a link
Explanation
Prerendering suits pages that are the same for everyone, like docs or a blog. Other page options are ssr and csr.