News for hackers. Stuff that matters.
Re:A guide to useEffect in React by snek on Monday March 11, 2019 @02:33AM (#19357095)
When you want to work with state in a component (so most of the time) but are too stubborn to admit FP isn't the right choice for the job
Re:A guide to useEffect in React by jameslk on Monday March 11, 2019 @02:41AM (#19357123)
This is my feeling too to be honest. I think hooks are very misguided. Unfortunately it's no longer FP anymore when your "referential transparency" has been completely blown away.
Re:A guide to useEffect in React by jordanwallwork on Monday March 11, 2019 @05:43AM (#19357726)
FP?
Re:A guide to useEffect in React by jameslk on Monday March 11, 2019 @02:45PM (#19361637)
Functional Programming