Sprites JavaScript Reactive Framework
The reactive framework. Values hold state, calculations read and derive, and the structure grows and shrinks with the data. The core holds the values, calculations, structure and context; the modules around it add logic, data, defaults and maths over those values. Choose a module below.
Reactive Modules
Sprites.Reactive
The core: values hold state, calculations derive, the structure follows the data, context injects a value for a subtree, and drivers run async work.
- Sprites.Reactive.Value
- Sprites.Reactive.Calculate
- Sprites.Reactive.Get
- Sprites.Reactive.Set
- Sprites.Reactive.Freeze
- Sprites.Reactive.Field
- Sprites.Reactive.If
- Sprites.Reactive.IfNot
- Sprites.Reactive.Each
- Sprites.Reactive.Repeat
- Sprites.Reactive.Pending
- Sprites.Reactive.Driver
- Sprites.Reactive.Context.Get
- Sprites.Reactive.Context.Set
Sprites.Logic
Boolean logic over reactive values, for conditions that derive and follow.
Sprites.Text
String operations over reactive values, so a label or a parsed number that is built from several values stays live.
Sprites.Data
Two-way object and array helpers: Construct builds an object, and the Array family reads and slices.
Sprites.Maths
Arithmetic and comparison over reactive values, so a derived number follows its inputs.