Glossary coding Term Page
load function
the SvelteKit server hook that runs before the page renders and fetches the initial data
Core Idea
load function is the SvelteKit server hook that runs before the page renders and fetches the initial data. It usually makes the most sense alongside invalidate, Optimistic UI, Snapshot rollback.
Why It Matters Here
Mathbong reuses this term across svelte posts as shared vocabulary.