duxt_signals 0.1.2 copy "duxt_signals: ^0.1.2" to clipboard
duxt_signals: ^0.1.2 copied to clipboard

Reactive signals for Dart - lightweight state management inspired by Solid.js, Angular, and Preact Signals.

Changelog #

All notable changes to this project will be documented in this file.

0.1.2 - 2026-02-05 #

Fixed #

  • README examples: renamed email/password variables to emailField/passwordField to avoid shadowing the email() validator function
  • README examples: renamed form variable to loginForm to avoid shadowing jaspr's form() function

0.1.1 - 2026-02-05 #

Added #

  • SignalState<T> - Base class for Jaspr StatefulComponent that auto-tracks signals read during build
  • Auto-subscription management: signals read in buildComponent() are automatically tracked
  • Auto-cleanup on dispose

Changed #

  • Replaced Watch component with SignalState for better Jaspr integration

0.1.0 - 2026-02-05 #

Added #

  • Initial release
  • Signal<T> - Core reactive primitive with call syntax
  • computed() - Derived signals with auto-dependency tracking
  • effect() - Side effects that run on signal changes
  • batch() - Batch multiple updates
  • FormField<T> - Form field with validation
  • FormState - Form group management
  • Built-in validators: required, email, minLength, maxLength, min, max, pattern
0
likes
150
points
173
downloads

Publisher

verified publisherbase.al

Weekly Downloads

Reactive signals for Dart - lightweight state management inspired by Solid.js, Angular, and Preact Signals.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

jaspr, meta

More

Packages that depend on duxt_signals