3 ms·
Wouldn't this lead to a delay of time to first content render? If you rely on display then a layout shift would also be an issue for JS-capable clients.
by c0balt 2y ago
Wouldn't this lead to a delay of time to first content render? If you rely on display then a layout shift would also be an issue for JS-capable clients.
- charrondev 2y agoWrite that tiny of bit of JS inline in the head and put the class/attribute on the html element.