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
I have a some nested stores and would like to locate them all individually. What would be the best way to do this? At the moment I'm doing it like this:
// store structure:classMainStore {
var reminderStore =ReminderStore();
}
classReminderStore {
var taskStore =TaskStore();
}
// registering the instances:var mainStore =newMainStore();
GetIt.instance.registerSingleton<MainStore>(mainStore);
GetIt.instance.registerSingleton<ReminderStore>(mainStore.reminderStore);
GetIt.instance.registerSingleton<TaskStore>(mainStore.reminderStore.taskStore);
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I have a some nested stores and would like to locate them all individually. What would be the best way to do this? At the moment I'm doing it like this:
The text was updated successfully, but these errors were encountered: