Minsu Lee
Minsu Lee
@Malik056 Use [`@StoreConfig`.](https://github.com/mobxjs/mobx.dart/blob/f8677da98b2077ae22b536abe3ea11be2ba8050e/mobx/lib/src/api/annotations.dart#L4) ```dart @StoreConfig(hasToString: false) class YourStore = _YourStore with _$YourStore; abstract class _YourStore with Store { } ```
@subzero911 https://mobx.netlify.app/examples/connectivity ```dart reaction((_) => store.connectivityStream.value, (result) { final messenger = ScaffoldMessenger.of(context); messenger.showSnackBar(SnackBar( content: Text(result == ConnectivityResult.none ? 'You\'re offline' : 'You\'re online'))); }, delay: 4000); ``` A [reaction](https://mobx.netlify.app/api/reaction#reaction) is...
@vursin Thank you for your contribution. I think #784 should be reverted(#842). After that, we need to discuss the async action.
https://github.com/mobxjs/mobx.dart/runs/6959595920?check_suite_focus=true
@pavanpodila Like the `flutter test`, the `dart test` has a `coverage` argument and . https://github.com/mobxjs/mobx.dart/blob/c963f6cba2fdf23d7ba42ce44829152adfcd105d/.github/workflows/build.yml#L62 https://pub.dev/packages/test#collecting-code-coverage `dart run test --coverage=./coverage` https://github.com/dart-lang/coverage#running-tests-with-coverage `dart pub global run coverage:test_with_coverage` https://github.com/dart-lang/test/pull/1088 https://github.com/dart-lang/test/pull/1600 I tested...
`dart run test --coverage=./coverage` sometimes failed, we should use `dart pub global run coverage:test_with_coverage`
@cannoneyed Would you like to try the latest version? It works well in the following environment. dart: 2.15.0 mobx: 2.0.6+1 mobx: 2.0.5+2 ```dart import 'package:mobx/mobx.dart'; part 'test.g.dart'; class TestData {}...
@vandadnp > Please wrap the code in an "action". By default, MobX enforces a rule that all mutations to observables should happen inside an action. This is part of the...
@pavanpodila Done.
@SrTobi it's a side effect. I never thought of such a case.