一个 React 钩子 (Hook),允许您手动管理状态的历史记录。
{"hash":"ABCDEF","count":0}{"snapshot":{"hash":"ABCDEF","count":0},"timestamp":1768462085965}1/15/2026, 7:28:05 AM {"hash":"ABCDEF","count":0}请查看 API。
点击下方链接跳转 GitHub 查看源代码。
任何可序列化的源状态值,用于记录在历史中。
UseThrottledFnOptions 是 useThrottledFn 的选项,参见 useThrottledFn。
UseDebouncedFnOptions 是 useDebouncedFn 的选项,参见 useDebouncedFn。