UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

6 lines (5 loc) 224 B
/** * Returns a reactive value that can be used as a state. */ declare const useMutableState: <TValue, TProxied extends Record<string | symbol, TValue>>(initialState: TProxied) => TProxied; export default useMutableState;