3 ms·
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 mana
by cageface 8y ago
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.
- paperpunk 8y agoTypeScript 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 :)