MediumScenarioMore frontend scenarios
A third-party chat widget hurts load performance. What do you do?
What a good answer covers
Load it after interaction or idle, use facades, async or defer, isolate in an iframe, and measure impact on INP and LCP.
PreviousHow does React decide which real DOM nodes to update after a state change?Next Fonts cause flashes of invisible text and layout shift. Fix?
More on More frontend scenarios
Flashcards for this topic- HardFonts cause flashes of invisible text and layout shift. Fix?
- MediumUsers with slow networks see a blank page until JS loads. Approach?
- HardA Core Web Vitals regression appears after a release. How do you find the commit?
- MediumA table with sortable columns must be accessible. What do you implement?