News for hackers. Stuff that matters.
Re:Making SetInterval Declarative with React Hooks by underwater on Monday February 04, 2019 @03:30AM (#19074779)
React didn't even start out with classes — React.createClass came first. It allowed you to define lifecycle hooks for a component, but wasn't supposed to be a generic class implementation.

There are no comments on this comment yet.