Glossary coding Term Page

event.locals

the shared object between hooks and load functions where you can stash `user` info

event-locals #coding#svelte
Korean version

Related Concepts

Core Idea

event.locals is the shared object between hooks and load functions where you can stash user info. It usually makes the most sense alongside Session, Cookie, Route guard.

Why It Matters Here

Mathbong reuses this term across svelte posts as shared vocabulary.

Posts Mentioning This Concept