Svelte · Middle · Question 32 of 75
When does a universal load in +page.js run?
- ✓Correct answer: On the server during SSR for the first request, then in the browser on client-side navigations
- 2Only in the browser
- 3Only at build time
Explanation
So it can't use secrets or database clients; that belongs in +page.server.js.