internal-docs/guides/reactivity/index.md
This directory also contains pseudocode for the foundation of a reactive system that satisfies these requirements, and uses them to demonstrate the implementation of the reactive abstractions.
tags.ts: A simple implementation of the tag-based validation system,
including an interface for a runtime that supports tag consumptions and tracking frames.primitives.ts: Implementation of:
Snapshot, which captures a value at a specific revision with its tag validator.PrimitiveCell and PrimitiveCache, which implement a primitive root storage and a primitive
cached computation, both of which support law-abiding snapshots.composition.ts: Implementations of the higher-level reactive
constructs described in Reactive Abstractions in terms of the
reactive primitives.[!TIP]
While these are significantly simplified versions of the production primitives that ship with Ember and Glimmer, they serve as clear illustrations of how to implement reactive abstractions that satisfy the reactive laws.