mobx 0.3.2
mobx: ^0.3.2 copied to clipboard
MobX is a library for reactively managing the state of your applications. Use the power of observables, actions, and reactions to supercharge your Dart and Flutter apps.
Changelog #
0.3.0 0.3.2 #
- API changes introduced to the
enforceActionssetting ofReactiveConfig. It is now calledwritePolicyand the enumEnforceActionshas been renamed toReactiveWritePolicy. - Also introducing a
readPolicysetting onReactiveConfig. It is an enumeration with two values: - Removing the "strict-mode" text in the exception message when the
ReactiveWritePolicyis violated. This was a vestige from themobx.jsworld. - Exposing a boolean
isWithinBatchonReactiveContext, which tells if the current code is running inside a batch. This is used to conditionally apply an action-wrapper formobx_codegen-generated setters.
enum ReactiveReadPolicy { always, never }
0.2.1+2 #
- Improving test coverage
0.2.1+1 #
- README updates
0.2.1 #
- An internal change was made to support the new restrictions around non-covariant type variables in superinterfaces. This was causing compile errors in the Flutter
beta/dev/masterchannels.
0.2.0 #
- A breaking change has been introduced to the use of the
Storetype. Previously it was meant to be used as an interface, which has now changed to a mixin. Instead of doing:
abstract class UserBase implements Store {}
You now do:
abstract class UserBase with Store {}
This allows us to add more convenience methods to the Store mixin without causing any breaking change in the future. With the current use of the interface, this was not possible and was limiting the purpose. Store was just a marker interface without any core functionality. With a mixin, it opens up some flexibility in adding more functionality later.
- All the docs and example code have been updated to the use of the
Storemixin.



