Track 02 of 10Inside the browser
- 01Events and bubbling
- 02What fires when you click or type
- 03Keyboard, input and focus events
- 04Default actions and preventDefault()
- 05Event delegation
- 06Listener options and cleanup
- 07Custom events
- 08Debounce and throttle
- 09Events in React
- 10The event loop
- 11Don't block the main thread
- 12The rendering pipeline
- 13Core Web Vitals
- 14HTTP caching
- 15Responsive design
- 16SEO basics
- 17Service workers and offline
Track 02 of 10
Inside the browser
Events from click to React, the event loop, rendering, Core Web Vitals, caching and working offline.
17 lessons · about 112 minutes
- Events and bubblingOne click travels down to its target and bubbles back up. Watch every listener hear it.7 min
- What fires when you click or typeOne click is a whole sequence of events. Record them and open each event object.7 min
- Keyboard, input and focus eventskey versus code, input versus change, focus versus focusin.7 min
- Default actions and preventDefault()Links navigate, forms submit, checkboxes tick. Turn each one off and see what happens.6 min
- Event delegationOne listener on the list instead of one per item, and the classic bug it fixes.6 min
- Listener options and cleanuponce, passive and AbortController: listeners that clean up after themselves.7 min
- Custom eventsAnnounce “added to cart” and let any part of the page listen.5 min
- Debounce and throttleFewer requests, same result. Type fast and count them.6 min
- Events in ReactSynthetic events, onChange on every keystroke, and the onClick mistake everyone makes once.6 min
- The event loopCall stack, microtasks and tasks. Guess the output, then step through.9 min
- Don't block the main threadFreeze this page on purpose, then do the same work without freezing it.6 min
- The rendering pipelineStyle, layout, paint, composite: what each CSS change costs per frame.6 min
- Core Web VitalsLCP, INP and CLS. Try to click the button before the ad lands.7 min
- HTTP cachingCache-Control, ETags and hashed file names. Deploy and see what users get.8 min
- Responsive designOne page, every screen. Drag across the breakpoints and break the viewport tag.6 min
- SEO basicsTitles, descriptions and share cards: the back cover of every page.6 min
- Service workers and offlineCache first, network first, stale while revalidate. Try each one offline.7 min