react-native-shared-state
Version:
Create shared states that can be connected to multiple react native components, allowing for simple global state management.
6 lines (5 loc) • 310 B
TypeScript
export declare function deepClone<O extends Object>(object: O): O;
export declare function toArray<D>(data: D | D[]): D[];
export declare function onMount(mountFunction: () => void): void;
export declare function onUnMount(unMountFunction: () => void): void;
export declare function useReRender(): () => void;