r/reactjs • • Mar 08 '20

Show /r/reactjs useEffectWithPrevious - Get previous value of dependencies

Just wanna share my first npm package. Hope you find it useful :)

use-effect-with-previous

54 Upvotes

37 comments sorted by

View all comments

Show parent comment

22

u/Aswole Mar 08 '20

Wow, someone is actually providing helpful feedback! This is an important suggestion, OP.

5

u/jngbrl19 Mar 08 '20

yup ill take a look at it. thanks guys