Skip to content

chin2km/vite-react-ssr-dev-mode-critical-css-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite react ssr critical css issue

Dev mode in a react server-rendered application the initial critical css is not inlined into the html. Styles kicks in only after the react hydration and the vite runtime loaded.

This results in a very bad flickering, especially in big applications since it takes few seconds before the vite fetches all the required js and is browser ready.

command

yarn dev

issue

vitejs/vite#16515

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors