reshow-flux
Version:
The smallest react flux and Fast hook alternative
35 lines (29 loc) • 1.09 kB
JavaScript
//@ts-check
/**
* @template StateType
*
* @typedef {import("./useConnect").CalculateStateCallback<StateType>} CalculateStateCallback
*/
/**
* @typedef {import("./ImmutableStore").StateMap} StateMap
*/
/**
* @typedef {import("./ImmutableStore").MaybeMapType} MaybeMapType
*/
/**
* @template [StateType=StateMap]
* @template [ActionType=MaybeMapType]
* @typedef {import("./ImmutableStore").ReducerTypeWithMap<StateType, ActionType>} ReducerTypeWithMap
*/
/**
* @template [StateType=StateMap]
* @template [ActionType=MaybeMapType]
* @typedef {import("./ImmutableStore").ImmutableStoreObject<StateType, ActionType>} ImmutableStoreObject
*/
export { default as useConnect } from "./useConnect.mjs";
export { default as useImmutable } from "./useImmutable.mjs";
export { default as useReduceStore } from "./useReduceStore.mjs";
export { default as useStore } from "./useStore.mjs";
export { default as toJS } from "./toJS.mjs";
export { forEachMap } from "get-object-value";
export { default as ImmutableStore, equal, fromJS, mergeMap, Map, Set } from "./ImmutableStore.mjs";