docs: add frontend data loading patterns and architecture (#232)
Documents the shift from client-side onMount to server-side load functions:
- server-side loading (+page.server.ts) for SEO/performance
- client-side loading (+page.ts) for auth-dependent data
- layout loading (+layout.ts) for shared state
- when to use each pattern
- anti-patterns to avoid
- migration history from PRs #210, #227
References issue #225 (auto-play investigation) as example of
understanding client vs server state boundaries.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
authored by
zzstoatzz.io
Claude
and committed by
GitHub
45c9b1d1
d427db42