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.
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.