drip_core 0.1.0-alpha copy "drip_core: ^0.1.0-alpha" to clipboard
drip_core: ^0.1.0-alpha copied to clipboard

High-performance, zero-dependency reactive engine for the DRIP framework. Synchronous-only tracking with microtask coalescing.

0.1.0-alpha - 2024-05-13 #

Initial Release of the DRIP Reactive Engine.

Added #

  • DripState<T> — atomic reactive value with version clock and equality check
  • DripComputed<T> — lazy, cached derived value with automatic dependency tracking
  • DripEffect — side-effect runner with automatic re-execution on dependency change
  • DripScope — lifetime owner with LIFO disposal guarantee
  • DripBatch — microtask-based coalescing scheduler (O(1) propagation passes)
  • TrackingContext — stack-based, synchronous-only dependency registration
  • Equality<T> interface with DefaultEquality and IdentityEquality implementations
  • DripCircularDependencyError — thrown on circular computed dependency
  • DripDisposedScopeError — thrown on access to disposed scope
  • Top-level dripState<T>() factory function

Architecture #

  • Zero Flutter dependency — usable in Dart CLI and server applications
  • Zero Zone-based tracking — async gaps never register spurious dependencies
  • Pure Dart SDK >=3.3.0 — no third-party runtime dependencies

Testing #

  • 30+ unit tests covering all invariants
  • CI-gated benchmark tests: write throughput, propagation efficiency, batching
0
likes
0
points
474
downloads

Publisher

verified publisherappamania.in

Weekly Downloads

High-performance, zero-dependency reactive engine for the DRIP framework. Synchronous-only tracking with microtask coalescing.

Homepage
Repository (GitHub)
View/report issues

Topics

#state-management #reactive #signals #performance #flutter

License

unknown (license)

More

Packages that depend on drip_core