Create and register a store in one step
Store<T> createStore<T>(String id, T initialState) { final store = Store<T>(initialState); registerStore(id, store); return store; }