use-special-effect
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

use-special-effect 🪄

Version

Special version of React's useEffect hook, which allows
(1) defining which dependency changes should trigger the effect and
(2) accessing both old + new values during effect run

Install

npm install --save use-special-effect

Or if you use Yarn:

yarn add use-special-effect

Documentation following soon

Package Sidebar

Install

npm i use-special-effect

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

4.32 kB

Total Files

12

Last publish

Collaborators

  • maks-io