Frontend

Knowledge documents in Frontend.

Search starts automatically 350ms after you stop typing.

32 documents

  • VerifiedUpdated 2026-07-12

    BFS document relation local graph

    A pattern that gathers neighbors within N hops via BFS over frontmatter related and wikilink indexes, then visualizes with force-graph

  • ObservedUpdated 2026-07-11

    Scroll-driven narrative layout

    A zero-JS narrative pattern that syncs a product story to scroll using scroll-timeline, a sticky stage, and pure CSS keyframes — no GSAP

  • InferredUpdated 2026-07-10

    Nested modal document navigation

    A navigation pattern that push/pops a documentId stack inside a single modal shell to connect gallery → peek → related

  • InferredUpdated 2026-07-09

    Hierarchical document navigation

    A pattern for navigating child documents in a block-document graph via page blocks, a push/peek navigator, and breadcrumbs

  • InferredUpdated 2026-07-09

    Read-only viewer bundle splitting

    A pattern that splits the rich-text editor and read-only viewer entries to strip the PM/dnd bundle from peek/embed paths

  • InferredUpdated 2026-07-07

    Normalized render entry projection

    A CQRS projection pattern that reduces nested-UI re-renders from O(depth) to O(1) via a normalized read-model over an immutable tree and per-id useSyncExternalStore subscriptions

  • InferredUpdated 2026-07-06

    Cross-block text range operations

    A pattern for handling delete·mark·insert on a native selection spanning multiple blocks in a hybrid block editor, via stateless derivation and host patches

  • InferredUpdated 2026-07-06

    React Context render granularity

    Why putting frequently-changing large state in a wide Context value defeats memo, and the narrow-Provider split pattern

  • InferredUpdated 2026-07-05

    Optimistic outbox rebase

    A client sync pattern that rolls back and re-applies a pending queue via local optimistic apply and inverse patches to converge with remote changes

  • InferredUpdated 2026-07-05

    Radix Portal and scoped CSS

    How to keep editor-scoped styles by rendering inline when a Radix Popover Portal escapes the CSS scope ancestor

  • InferredUpdated 2026-07-04

    Focused guest editor

    An editor architecture where the host owns document semantics and the rich-text engine is a guest briefly mounted on only the focused block

  • InferredUpdated 2026-07-04

    Two-stack inverse Undo/Redo

    A history model that records edits as do/inverse pairs and shuttles state between two stacks — undo and redo

  • InferredUpdated 2026-07-04

    useSyncExternalStore Snapshot Identity

    useSyncExternalStore compares snapshots with Object.is, so if the content changed but the value is equal it will miss the re-render forever

  • InferredUpdated 2026-07-01

    List virtualization (Windowing)

    A technique that renders only rows near the viewport to the DOM in a long list, keeping memory·layout cost constant

  • InferredUpdated 2026-06-30

    SSR hydration mismatch

    The causes of divergence between server-rendered HTML and the client's first render, and strategies for safely applying client-only state

  • InferredUpdated 2026-06-29

    Race-safe async UI requests

    An async UI pattern that guards against out-of-order responses using debounce, AbortController, and a latest-request id

  • InferredUpdated 2026-06-27

    Resource Priority

    Browser resource prioritization and using fetchpriority