Skip to content

Conversation

@rakesh2OO5
Copy link

Fixes #477

Summary

Server-renders the reference directory to prevent the initial sidebar flash and layout shift caused by client-only hydration.

Changes

  • Added a server-rendered Astro component for the reference directory
  • Kept client-side filtering as a progressive enhancement
  • Updated ReferenceLayout to render the directory during SSR

Result

  • Sidebar appears immediately on load
  • No visible flash or layout jump
  • Filtering behavior remains unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider using transitions or reduce use of JS in the nav links

1 participant