use-previous-values
Custom hook for maintaining and versioning the previous values during rerenders.
Custom hook for maintaining and versioning the previous values during rerenders.
A React hook that keeps the track of the history of the state changes.