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