Re:A guide to useEffect in React
by cageface on Monday March 11, 2019 @03:29AM
(#19357270)
I use Typescript. I'm not interested in adding another processing/parsing tool to the stack I already have. Hooks are a much more elegant solution to state management than classes, IMO, but it will probably take some time for best practices to emerge, just as they did for classes.
[ Parent
| on HN ]
TypeScript already supports those 'class properties' - and with a few extra features - so you don't need to use Babel for this syntax: you already have it.
I'd still rather use hooks though :)