1.0.1 • Published 5 years ago

use-smooth v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

useSmooth

dependencies Status devDependencies Status License: MIT

A react hook for making state changes smooth.

Why?

Suppose you have some state that belongs to a progressbar. If the value of the progressbar changes from 0 to 50, this hooks makes this pulse change (0 -> 50) smooth (0 -> 1 -> 2 -> ... -> 50).

Installation

npm i -S use-smooth

License

MIT © Zamin

1.0.1

5 years ago

1.0.0

5 years ago