hotfix: removed mobx mentions

This commit is contained in:
shilangyu 2020-10-28 00:00:08 +01:00
parent a9956cf12c
commit e6eee63fe3
1 changed files with 2 additions and 2 deletions

View File

@ -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