You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no reason to using PostStore with Provider
i.e. i do not see any reason for the following within my_app.dart
Provider<PostStore>(create: (_) => _postStore),
PostStore is used within home.dart, where you can remove reference to Provider.of and just use a reference to the PostStore (mobx class) and reference it via getIt (that you registered in service_locator.dart)
There is no reason to using PostStore with Provider
i.e. i do not see any reason for the following within my_app.dart
Provider<PostStore>(create: (_) => _postStore),
PostStore is used within home.dart, where you can remove reference to Provider.of and just use a reference to the PostStore (mobx class) and reference it via getIt (that you registered in service_locator.dart)
The text was updated successfully, but these errors were encountered: