UNPKG

@reactivers/use-previous

Version:

Previous value of a state in React with hook

22 lines (13 loc) 476 B
> # @reactivers/use-previous [![npm version](https://badge.fury.io/js/@reactivers%2Fuse-previous.svg)](//www.npmjs.com/package/@reactivers/use-previous) # Welcome ## Introduction > ```@reactivers/use-previous``` Previous value of a state in React with hook ## Docs You can find detailed docs [here](https://hooks.reactivers.com/use-previous) ## Getting Started ### Installation ```bash npm install --save @reactivers/use-previous yarn add @reactivers/use-previous ```