Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That causes CLS which is also an issue


My apologies. By 'hide', I meant hide visually (through `opacity: 0`) that keeps the space reserved to avoid CLS.


Do 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...




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: