You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce layout shift (CLS) on reload via localStorage cache + skeleton placeholders #1
On page load: if URL matches a cached entry, paint cached state immediately, then fetch fresh data in background. If fresh data differs, swap in (could even diff and only update changed regions, but full re-render is fine for v1).
This is the pattern GitHub uses for instant page loads on repeat visits.
Part 2 — skeleton placeholders (medium impact)
Even on first visit (no cache), reserve layout space upfront. Render the grid container, sidebar shell, tabs placeholder, and a gray-rectangle skeleton for the file list before data arrives. Eliminates the URL-form-only flash before content fills in.
Activity