reshow-flux
Version:
The smallest react flux and Fast hook alternative
13 lines (12 loc) • 1.06 kB
TypeScript
export { default as useConnect } from "./useConnect";
export { default as useImmutable } from "./useImmutable";
export { default as useReduceStore } from "./useReduceStore";
export { default as useStore } from "./useStore";
export { default as toJS } from "./toJS";
export { forEachMap } from "get-object-value";
export type CalculateStateCallback<StateType> = import("./useConnect").CalculateStateCallback<StateType>;
export type StateMap = import("./ImmutableStore").StateMap;
export type MaybeMapType = import("./ImmutableStore").MaybeMapType;
export type ReducerTypeWithMap<StateType = import("./ImmutableStore").StateMap, ActionType = import("./ImmutableStore").MaybeMapType> = import("./ImmutableStore").ReducerTypeWithMap<StateType, ActionType>;
export type ImmutableStoreObject<StateType = import("./ImmutableStore").StateMap, ActionType = import("./ImmutableStore").MaybeMapType> = import("./ImmutableStore").ImmutableStoreObject<StateType, ActionType>;
export { default as ImmutableStore, equal, fromJS, mergeMap, Map, Set } from "./ImmutableStore";