Fix home page hydration mismatch causing missing styles on initial load#13
Fix home page hydration mismatch causing missing styles on initial load#13
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: ItamarShDev <953371+ItamarShDev@users.noreply.github.com>
Co-authored-by: ItamarShDev <953371+ItamarShDev@users.noreply.github.com>
|
@copilot Hey silly goose, the build fails... |
Co-authored-by: ItamarShDev <953371+ItamarShDev@users.noreply.github.com>
Fixed in 8289516. The issue was that I accidentally committed a |
|
@copilot nothing fixed, still reproduced if i will go to other page and back it will be fine |
.gitignore
Outdated
…R compatibility Co-authored-by: ItamarShDev <953371+ItamarShDev@users.noreply.github.com>
... Fixed in 29b8a36. The issue was that |
Co-authored-by: ItamarShDev <953371+ItamarShDev@users.noreply.github.com>

useParamsinshellComponentdoesn't work correctly during SSRuseRouterStateto access matched route params, which works during SSRSummary
Fixed the issue where the home page styles weren't being applied on initial load. The root cause was using
useParamsin theshellComponent, which doesn't work correctly during SSR. Changed to useuseRouterStatewhich properly accesses the router state including matched route params during SSR, ensuring the body class is set correctly for CSS variables to work.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.