|
|
|
|
|
by onion2k
1610 days ago
|
|
I like to see sites as they were intended to be seen and not jump around and change colors with every chunk of html or css. No one likes layout shifting. There's no reason why a site should be jumping around just because the HTML is being rendered as it streams though. Stopping layout shift is more to do with prioritizing layout CSS (inlining important styles for example), avoiding dynamic content injection (eg server side rendering instead of lazy loading content) and providing proper hints to the browser about where things should go, how big things are, and so on. |
|