caffeine 1.0.0
caffeine: ^1.0.0 copied to clipboard
A reactive microstore for Dart with managed side effects. Pure update functions, explicit effect streams, lazy derived state, and glitch-free reactivity — inspired by The Elm Architecture (TEA).
1.0.0 #
Initial release.
Store<S, E>— reactive state machine with pure update function and explicit effect streamsStateful<S>— lazy derived reactive value with automatic dependency tracking viaSnapshotScope— runtime that manages the reactive graph, dispatches events, executes effects, and controls store lifecyclesStoreOverride— transparent store replacement for dependency injection and testing- Scope forking for hierarchical store lifetime management
- External stream subscriptions via
Store'ssubscribeparameter - Glitch-free update compression: every
Statefulnode recomputes at most once per event cycle regardless of how many upstream dependencies changed