react-hooked
♻️ Useful custom hooks for react.
Available Hooks
usePrevious
Lets you reference the previous prop or state of a component:
{ const count setCount = ; const prevCount = ; return <h1> Now: count before: prevCount </h1> ;}