@utilityjs/use-previous-value

A React hook that returns a value from the previous render.

Browse on unpkg