Re:Introducing Hooks
by needz on Thursday October 25, 2018 @03:45PM
(#18303964)
It's meant for functional components, not classes.
[ Parent
| on HN ]
"This" existed in javascript long before classes. No idea why my relevant question is down voted.
"this" isn't bound in functional components because there's nothing to bind it to.
Not in arrow functions, which are very common and any solution should certainly contemplate them.