简体中文
Appearance
返回稳定的 ref 对象,并让 current 始终指向最新值。
current
function useLatestRef<T>(value: T): { readonly current: T };
useRef