Thank you Paweł. Yes there is (and it is a superb framework), so if your production CSS is tiny, go for it, but in many cases I still think non-critical CSS should be lazy loaded... because why not?
We should avoid layout shift because the critical CSS would have already been fetched. The non-critical CSS will be applied on elements below the fold or out of sight.
Thank you Paweł. Yes there is (and it is a superb framework), so if your production CSS is tiny, go for it, but in many cases I still think non-critical CSS should be lazy loaded... because why not?
To avoid additional request and layout shift.
We should avoid layout shift because the critical CSS would have already been fetched. The non-critical CSS will be applied on elements below the fold or out of sight.
In theory - in practice its usually not the case. ;)