Skip to content

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

Notifications You must be signed in to change notification settings

maks-io/use-special-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published