Use Current Effect Versions Save

useEffect hook with injected current flag

2.1.0

4 years ago

React is now a peer and dev dependency, there is therefore no regular dependencies

v2.0.0

4 years ago

Changed the injected parameter to be a function that returns the current state of the effect. This should clean up the API a little and allow for naming the function whatever the user wishes.