5 ms·
I usually hide the web components until they are defined using `:not(:defined)` CSS selector
by microflash 3y ago
I usually hide the web components until they are defined using `:not(:defined)` CSS selector
- joshspankit 3y agoThat causes CLS which is also an issue
- microflash 3y agoMy apologies. By 'hide', I meant hide visually (through `opacity: 0`) that keeps the space reserved to avoid CLS.
- yencabulator 3y agoDo I understand correctly, this only works when the size of the component is determined from "above" in the layout tree? That sounds not generally useful...