From e6eee63fe389d1a1bb808e6275c12437414b7640 Mon Sep 17 00:00:00 2001 From: shilangyu Date: Wed, 28 Oct 2020 00:00:08 +0100 Subject: [PATCH] hotfix: removed mobx mentions --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 452cc4c..b19e517 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,7 +12,7 @@ Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communic ### State management -[MobX](https://github.com/mobxjs/mobx.dart) is used for global state management, [flutter_hooks](https://github.com/rrousselGit/flutter_hooks) is used for local (widget-level) state management. `StatefulWidget`s are avoided all together and any state logic reuse is moved to a [custom hook](./lib/hooks). +`ChangeNotifier` + [Provider](https://github.com/rrousselGit/provider) is used for global state management, [flutter_hooks](https://github.com/rrousselGit/flutter_hooks) is used for local (widget-level) state management. `StatefulWidget`s are avoided all together and any state logic reuse is moved to a [custom hook](./lib/hooks). ### Project structure @@ -20,7 +20,7 @@ Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communic - `hooks/`: reusable state hooks - `pages/`: fullscreen pages that you navigate to -- `stores/`: MobX global stores +- `stores/`: global stores - `util/`: utilities - `widgets/`: reusable widgets; building blocks for pages - `main.dart`: entrypoint of the app. Sets up the stores, initializes the themes, renders the first page