MadeInHaus / react-starter

A client-side SPA starter bundled with React, Redux, CSS Modules, React Router 4, and Webpack 4
MIT License
9 stars 2 forks source link

Inline CSS strategy #7

Closed rynocouse closed 5 years ago

rynocouse commented 7 years ago

Come up with a strategy to inline critical CSS to prevent FOUC (flash of unstyled content)

chrisjcodes commented 7 years ago

@stevescavo assigned to you since you have something going for this already

stevescavo commented 6 years ago

@claus can you grab this task? I think we should lean on a webpack plugin or a similar approach for this: https://www.npmjs.com/package/webpack-plugin-critical