News for hackers. Stuff that matters.
Re:Introducing Hooks by Vinnl on Friday October 26, 2018 @03:05AM (#18307316)
It's not just having to understand what a class is, it's also having to know and remember to add a constructor to your class just to call `this.handleSomeEvent = this.handleSomeEvent.bind(this)`.

Sure, I know what it does and why it is needed, but it is ugly, cumbersome, and I keep forgetting it nonetheless.

Re:Introducing Hooks by beaconstudios on Friday October 26, 2018 @06:05AM (#18307971)