Browser

Knowledge documents in Browser.

Search starts automatically 350ms after you stop typing.

25 documents

  • InferredUpdated 2026-08-09

    Message-based RPC in browser extensions

    How to safely connect extension execution contexts that cannot share memory with message APIs, runtime validation, handler routing, response envelopes, and change notifications

  • InferredUpdated 2026-08-07

    IME composition and the commit boundary

    Why blur or Enter can commit a half-composed Korean character, and how to fix it with composition state rather than assumptions about event order

  • InferredUpdated 2026-07-24

    LCP element render delay — hydration pushes the paint

    When LCP is slow but the image is tiny and TBT is near zero, the bottleneck is not download — it's that the LCP element is a client component, so hydration blocks the paint. Diagnosis and a server-ify prescription

  • InferredUpdated 2026-07-23

    objectURL Lifetime & Revocation Race

    The intermittent broken images caused by creating a createObjectURL in useMemo and revoking it in useEffect, and the pattern of rendering server-proxied images directly by URL to eliminate the race at its source

  • InferredUpdated 2026-07-23

    Service Worker Shell Fallback for Navigation Requests Only

    Applying an offline-shell fallback to every request returns HTML on image/API failures, breaking <img> and polluting the cache. Apply the shell fallback only to document requests whose request.mode is navigate

  • InferredUpdated 2026-07-13

    Cache generation stale-write guard

    A generation pattern that blocks late-finishing requests from re-writing cache when async deletion overlaps stale-while-revalidate

  • InferredUpdated 2026-07-13

    Canvas deterministic node rendering

    A pattern to stabilize Canvas 2D graph node color and twinkle via ID hash, and restore globalAlpha and shadow state

  • InferredUpdated 2026-07-13

    Service Worker stale-while-revalidate

    SWR pattern in Service Worker Cache Storage: return cache immediately and refresh in the background, with capacity and security caveats

  • InferredUpdated 2026-07-11

    CSS view-timeline entry animation

    A pattern for building scroll-entry fade/slide with animation-timeline view() and animation-range entry, without JS

  • InferredUpdated 2026-07-11

    font-display optional and CLS

    A typography strategy that uses the optional display to prevent late webfont swap and reduce tag/body layout shift (CLS)

  • InferredUpdated 2026-07-07

    React commit child-first ref timing

    React commit attaches child DOM first, so an ancestor ref may be null at the time of a child useLayoutEffect — defer ancestor DOM side effects to useEffect

  • InferredUpdated 2026-07-06

    Fixed-position floating UI and scroll tracking

    Why a popover/toolbar pinned with coordinates measured only once to a position:fixed anchor drifts off the text after scrolling, and the scroll/resize re-measurement pattern

  • InferredUpdated 2026-07-06

    selectionchange for floating selection UI

    Why a text-selection-based floating toolbar is driven by selectionchange instead of a mousedown/mouseup gate, and the ownership pattern for hybrid editors

  • InferredUpdated 2026-07-05

    contenteditable IME composition

    The principle of preventing composition breakage in a CJK IME composition session with contenteditable/React editors via commit defer and mount-once

  • InferredUpdated 2026-07-04

    HTML5 Drag and Drop

    A browser-native drag session API that implements moves crossing subtree boundaries via the OS drag loop and DataTransfer

  • InferredUpdated 2026-07-04

    Selection.toString and pseudo-elements

    user-select:none only blocks drag selection and does not fully exclude text from the Selection/clipboard; to exclude it, CSS generated content is safer

  • InferredUpdated 2026-07-03

    CLS and Skeleton Layout Reservation

    Why CLS occurs when a loading skeleton occupies different space than the final UI, and the height/width reservation prescription to prevent it

  • InferredUpdated 2026-07-03

    Lighthouse Measurement Accuracy

    How to distinguish that the Lighthouse Performance score, category audits, and Chrome trace ms are each different instrumentations

  • VerifiedUpdated 2026-06-25

    Critical Rendering Path

    The stages a browser goes through from receiving HTML/CSS/JS to painting the first screen pixels, and how to shorten that path