awesome-everything RU
↑ Back to the climb

Browser & Frontend Runtime

Putting it together: multiple-choice review

Crux Cross-track synthesis MCQs over the whole browser chapter — relay-race chain, the hydration uncanny valley, three-track bottleneck reading, and the five canonical breaks.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Six questions that cut across the whole browser track — event loop, render pipeline, V8, workers, fiber, SSR/SSG, and Core Web Vitals collapsed into one page. Each one is a decision you make staring at a real trace, not a definition to recite.

Goal

Confirm you can connect every layer of the page-load relay into one chain: why the symptom routinely names the wrong layer, why hydration is the hinge, and which track is the constraint at the moment that matters.

Quiz

A server-rendered product page hits LCP at 1.4 s (good) but the first tap on 'Add to cart' at 2.0 s records INP 700 ms. What is the structural explanation?

Quiz

A DevTools trace shows LCP firing late while the hero image is still on the network track at the LCP moment. Which layer is the actual cause, and which is paying for it?

Quiz

The 'Add to cart' re-render that should cost ~5 ms costs ~80 ms and tanks INP, even though the bundle is small and the handler is short. What is the most likely cross-layer cause?

Quiz

A deploy ships new HTML and a new JS bundle, but a fraction of returning users hit runtime errors and some are stuck on a broken page even after the fix deploys. What is the canonical break and the layer?

Quiz

A junior optimises the 'Add to cart' handler from 12 ms down to 6 ms; field INP stays at 480 ms. What did the three-track method say they should have done first?

Quiz

One RUM session is poor on every metric: TTFB 2980 ms, LCP 6800 ms (hero is a CSS background-image), INP 540 ms (LoAF names the hydration script), CLS 0.21 (price re-rendered). Which single fix has the most leverage to start with, and why?

Recap

The through-line across the track is one chain: TTFB is the floor, discovery feeds LCP, V8 parse plus the reconciler feed the hydration long task, and that long task is the hinge that determines early INP. The symptom routinely names the wrong layer — ‘slow image’ is discovery, ‘React is slow’ is a megamorphic V8 shape, ‘broken after deploy’ is a stale worker cache. The discipline is always the same: measure before touching, find the constraint track at the constraint moment, fix the dominant cause (TTFB and hydration cost first), then re-measure.

Continue the climb ↑Putting it together: free-recall review
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.