xr 0.0.4
xr: ^0.0.4 copied to clipboard
XR is a simple state management library based on fundamental ideas of Computer Science
0.0.4 #
0.0.3 #
0.0.2 #
BREAKING CHANGES #
- Package now depends on flutter. But it is only referenced in src/flutter.dart file. So the core is still only dart
- Complete different implementation of Event and Reaction
- Reaction renamed to Reactor
- By default, now both Event and Reactor only mark themselves changed, when newValue != existingValue
Additions #
- Added optional debugName parameter for toString implementation for better debugging
- Event now has a new method: forceSetValue that always updates value and always marks itself changed
- Added dispose method to create temporary reactors
- Added ReactorBuilder for creating widgets that rebuild when node changes
- Added VoidEvent to represent an Event which has no value
Bug fixes #
- Fixed a bug where scheduleMicrotask is not called when it should have been called
0.0.1 #
- Initial version.