StateContainer
A StateContainer is what's passed to createContext()
. This is either an Observable or a StoreApi constructor with an observable store
instance property.
Definition
type StateContainer<TState> = Observable<TState>
| StoreApiConstructor<TState>
See the Observable and StoreApiConstructor types.