4 ms·
Love how good the CLS is. I wonder if you can deal with flashes of white during navigation with the new View Transitions API
by lelandfe 2y ago
Love how good the CLS is. I wonder if you can deal with flashes of white during navigation with the new View Transitions API
- lelandfe 2y agoOh, it's because the site does `*{visibility:hidden}` during loading. Don't do that, show us the intermediate state >:) You're artificially making your FCP also be your TTI, which means page navigation, when everything should be cached and fast, feels slow. That's not something e.g. Lighthouse tells you. I recommend showing the page right away, even if there's going to be jank. Jank/Cumulative layout shifts can be fixed later.