🚧 What is blocking=render and why on earth would you do that?! A look at the new blocking attribute and a few use-cases: https://csswizardry.com/2024/08/blocking-render-why-whould-you-do-that/
1 post total
🚧 What is blocking=render and why on earth would you do that?! A look at the new blocking attribute and a few use-cases: https://csswizardry.com/2024/08/blocking-render-why-whould-you-do-that/ |
@csswizardry I think another viable use case is defining *some* custom elements as it helps avoid the flash of the element being undefined. To me that frees up the undefined state from needing to serve the defined state (i.e. more equitable progressive enhancement — the experiences don’t need to be exactly the same). Progressive enhancement can be punished with a bad CLS score, but I think this is a more convenient way to avoid it (with its own cost of course).