duxt_signals 0.1.2
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/passwordvariables toemailField/passwordFieldto avoid shadowing theemail()validator function - README examples: renamed
formvariable tologinFormto avoid shadowing jaspr'sform()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
Watchcomponent withSignalStatefor better Jaspr integration
0.1.0 - 2026-02-05 #
Added #
- Initial release
Signal<T>- Core reactive primitive with call syntaxcomputed()- Derived signals with auto-dependency trackingeffect()- Side effects that run on signal changesbatch()- Batch multiple updatesFormField<T>- Form field with validationFormState- Form group management- Built-in validators:
required,email,minLength,maxLength,min,max,pattern