2️⃣
Pinned Loading
-
-
typescript type-safe version of useP...
typescript type-safe version of usePrevious taken directly from the react docs https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state 1import { useRef, useEffect } from 'react';
23/**4* a type-safe version of the `usePrevious` hook described here:5* @see {@link https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.




