Browser API Knowledge Graph
Master the platform. Understand the deeply integrated native APIs that power high-performance web applications.
requestAnimationFrame
RenderingA method that tells the browser you wish to perform an animation and requests that the browser calls a specified function to update an animation before the next repaint.
IntersectionObserver
ObserversAn API that provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document viewport.
MutationObserver
ObserversProvides the ability to watch for changes being made to the DOM tree.
Web Workers
ConcurrencyAn API that enables executing JavaScript in background threads. The worker thread can perform tasks without interfering with the user interface.
ResizeObserver
ObserversAn API that lets you efficiently observe changes to the size of elements, replacing the unreliable window.resize event for element-level layout tracking.
requestIdleCallback
ConcurrencyAn API that schedules low-priority work to run during browser idle periods, keeping the main thread available for user interactions and animations while still completing background tasks.
PerformanceObserver
ObserversAn interface to observe performance measurement events and receive notifications of new performance entries (like LCP, CLS, or Long Tasks).
View Transitions API
RenderingEnables smooth, app-like visual transitions between different states of the DOM, including between entirely different documents (Multi-Page Apps).