Files
Henry Whitaker acccfced1b Updated to v1.3.5
2020-05-12 11:57:22 +01:00

8 lines
258 B
TypeScript

/**
* `useKeeper` is a helper around `useRef`.
*
* You don't need to access the `.current`property to get the value
* If refresh is set to true. The ref will be updated every render
*/
export declare function useKeeper<T>(arg: T, refresh?: boolean): T;