TC39 Proposal Outlines Low-Level Reactive Dependency API for JavaScript
A proposed JavaScript API specification introduces a global Reactive namespace with three factory functions for managing reactive dependencies at a low level. The proposal defines two core object types — Source and Derivation — enabling invalidation signaling and lazy cached computations over explicit dependencies. It deliberately excludes higher-level features such as writable value cells, effects, scheduling, batching, and asynchronous computation. Invalidation is conservative, meaning it signals that a dependency may have changed without comparing old and new values. The specification also outlines a strict Dependency protocol governing listener registration, synchronous notification dispatch, and deterministic disposal behavior.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in