3 ms·
Are you against using Babel and the class properties proposal? Binding members shouldn't have been a problem in your codebase in recent years.
by korm 8y ago
Are you against using Babel and the class properties proposal? Binding members shouldn't have been a problem in your codebase in recent years.
- cageface 8y agoI 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 :)