Files
outline/app/components/Sidebar
Tom MoorandClaude Opus 5 d1ed467ba0 perf: Preload route chunks on sidebar hover intent (#13263)
The main app scenes were created with bare lazyWithRetry, so the sidebar
had no way to warm a route's chunk ahead of navigation — every click paid
the full fetch. Move them to createLazyComponent in a leaf module that
both the routes and the sidebar can import without a cycle, then preload
on the existing hover intent handlers.

Document and Collection links already prefetched their data on hover, so
the chunk preload rides along on the same event.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-02 15:04:05 -04:00
..