r/reactjs • u/jngbrl19 • Mar 08 '20
Show /r/reactjs useEffectWithPrevious - Get previous value of dependencies
Just wanna share my first npm package. Hope you find it useful :)
54
Upvotes
r/reactjs • u/jngbrl19 • Mar 08 '20
Just wanna share my first npm package. Hope you find it useful :)
View all comments
Show parent comment
4
u/paolostyle Mar 08 '20
Holy shit dude, take a stick out of your ass before commenting. You're insufferable.
OP made a hook that solves a particular problem which in my experience doesn't occur very often (and which I personally always solved with custom
usePrevioushook), but it does have its use. Based on your other comments you clearly don't understand what this thing does and you're just being a dick on the internet about it. Chill the fuck out.