Context.js

The complete source of src/Context.js, exactly as it ships, in reading order. Every line is present; the file is split at its own section banners.

Context.js - RETIRED

// ============================================================================
// Context.js - RETIRED
// ============================================================================
//
// The ambient Provide/Use mechanism this file used to declare has been removed from
// the framework. Contexts are now two things, both settled elsewhere:
//
//   - read DOWN the call stack  = ordinary closure capture (no keyword). A pseudo-module
//     inner function captures its defining function's locals; a one-of-many group (the
//     Button.Select redesign) hands `selected` to its Options through that closure, not
//     an ambient name.
//   - collect UP the call stack = Reactive.Emit(channel, value) / Reactive.Gather(channel),
//     scoped by pseudo-modules so a channel is always locally trackable (Reactive.js §6).
//
// There is deliberately nothing exported here. The file is kept only as a signpost; it
// declares no functions, so it is inert under the reified-argument convention.
// ----------------------------------------------------------------------------