-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Which project does this relate to?
Start
Describe the bug
When navigating on the zaidan project (branch bug/css-reload-on-navigation), the css is fetch on each navigation, we can see it on the network tab.
Your Example Website or App
https://github.com/carere/zaidan/tree/bug/css-reload-on-navigation
Steps to Reproduce the Bug or Issue
- Git clone zaidan project
- Checkout the
bug/css-reload-on-navigationbranch bun installthenbun --bun run dev- Go to
http://localhost:3000 - Navigate to any component
- Observe the reload (white flash due to css reload, observe network tab also)
Expected behavior
We should not have css reload
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.157.18
- OS: macOs arm64
- Browser: Comet (Chrome based)
- Browser Version: 143.0.7499.170
- Bundler: vite
- Bundler Version: rolldown-vite (7.3.1)
Additional context
Zaidan aims to mimic Shadcn "Create" website. When displaying components preview, we use an iframe to render the components, the iframe is using the __root.tsx shell to render. Maybe it is coming from there
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels