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
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?
Can you also try upgrading to the latest vinxi version? It should have another fix for this 😅
omg it works now
Yes that seems to have fixed it thanks :)