Replies: 2 comments 2 replies
-
This feature was provided by Vite: https://github.com/vitejs/vite/blob/c0ec6bea69b6160553f4a5b30652dcef891788fc/packages/vite/src/node/plugins/importAnalysisBuild.ts What benefits does nitro/vinxi's manual asset handling provide? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think Vite waits.. the router and vite have no way of knowing about each other. Vite does handle adding it but if it was loading beforehand it was by chance I think. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm migrating my old Solid Start project to beta 2, and I noticed now it has a huge FOUC when switching routes.
I checked the old code, seems like it inserts all
<link rel="stylesheet" >
into<head>
, wait for them to load, then replaces route content.Why doesn't it do that now? I think the user experience is worse especially with slow networks (I know it adds preloads, but the user can still switch routes before preloads are loaded)
Beta Was this translation helpful? Give feedback.
All reactions