UNPKG

react-hooks-global-states

Version:

This is a package to easily handling global-state across your react-components using hooks.

9 lines (8 loc) 869 B
export type { StateApi, ObservableFragment, MetadataSetter, StateChanges, StoreTools, ActionCollectionResult, GlobalStoreCallbacks, UseHookOptions, UnsubscribeCallback, SubscribeCallbackConfig, SubscribeCallback, BaseMetadata, MetadataGetter, SelectorCallback, SubscriberParameters, SubscriptionCallback, StateHook, ActionCollectionConfig, } from './types'; export { GlobalStore } from './GlobalStore'; export { createGlobalState, type InferActionsType, type InferStateApi, AnyActions, } from './createGlobalState'; export { shallowCompare } from './shallowCompare'; export { uniqueId, type BrandedId } from './uniqueId'; export { throwWrongKeyOnActionCollectionConfig } from './throwWrongKeyOnActionCollectionConfig'; export { isRecord } from './isRecord'; export { type ContextProvider, type ContextHook, type InferContextApi, createContext } from './createContext';