use-clear-effect

use-clear-effect is the react hook allowing get previous dependency values from effect.

Browse on unpkg