@reactutils/use-previous (npm): A custom hook that uses the useRef hook internally for storing the previous value.
Keywords: usePrevious|react hook|previous