UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

9 lines (8 loc) 237 B
export declare function useTimeTravelState<T>(initial: T): { state: T | undefined; setState: (newState: T) => void; history: T[]; index: number; rewind: (step: number) => void; forward: (step: number) => void; };