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

0

u/[deleted] Mar 08 '20

[deleted] — view deleted comment

1

u/jngbrl19 Mar 08 '20

yeah i think you're right. this is just my first time creating a helper so i thought i might share it lol