StoreContext
variableReact Context carrying a StoreInstance for yoltra React bindings.
- The default value is
null. Consumers should either:
1) Be wrapped with StoreProvider, or
2) Use a helper hook that throws a friendly error when the context is null.
- You can scope multiple independent stores by nesting multiple providers.Definition
const
const StoreContext: Context<StoreInstance<any, any, any>>Context<StoreInstance<any, any, any>>