S
SolidJS•6mo ago
zimo

css loads slowly (lazily?) causing ugly page for a few frames

I just tried upgrading to latest version of SolidStart and noticed this. Others seem to have noticed similar things in the past: https://discord.com/channels/722131463138705510/910635844119982080/1233478382482620532 https://github.com/solidjs/solid-start/pull/1423 (this issue have nice pictures demonstrating what's happening) That PR seems to be merged but it still happens to me. I did not experience this in some beta versions where only Vite was used. So I suspect it might be a Vinxi problem. Sample project for what I'm doing: https://github.com/zimonitrome/SolidStart-Prisma-AuthJS-example
4 Replies
zimo
zimoOP•6mo ago
Just noticed that this doesn't happen in production (which is very good!). But any idea if I can set this same behavior in dev mode?
Katja (katywings)
Katja (katywings)•6mo ago
Can you also try upgrading to the latest vinxi version? It should have another fix for this 😅
xxttt
xxttt•6mo ago
omg it works now
zimo
zimoOP•6mo ago
Yes that seems to have fixed it thanks :)
Want results from more Discord servers?
Add your server