UNPKG

react-shared-states

Version:

Global state made as simple as useState, with zero config, built-in async caching, and automatic scoping.

6 lines (5 loc) 149 B
import { Prefix } from '../types'; declare const useShared: (scopeName?: Prefix) => { readonly prefix: {} & string; }; export default useShared;