Module "wordpress-packages/utils/lib/factory/context"
Functions
createContextFactory
- createContextFactory<T>(object: T): { StoreContext: Context<T>; StoreProvider: FC<{}>; useStores: useStores }
-
Type parameters
Parameters
Returns { StoreContext: Context<T>; StoreProvider: FC<{}>; useStores: useStores }
-
StoreContext: Context<T>
-
StoreProvider: FC<{}>
-
Create context relevant objects to use within React.