UNPKG

244 BTypeScriptView Raw
1/// <reference types="react" />
2/**
3 * Returns a ref that is immediately updated with the new value
4 *
5 * @param value The Ref value
6 * @category refs
7 */
8export default function useUpdatedRef<T>(value: T): import("react").MutableRefObject<T>;