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