3 ms·
Unfortunately, libraries such as React have their own component lifecycle management, which doesn't play well with this (https://reactjs.org/blog/2015/12/18/rea
by realharo 9y ago
Unfortunately, libraries such as React have their own component lifecycle management, which doesn't play well with this (https://reactjs.org/blog/2015/12/18/react-components-elements-and-instances.html https://reactjs.org/blog/2015/12/18/react-components-element...).
This is also a bit of a pain point on Android with Java @NonNull annotations or when using Kotlin.
- Rapzid 9y agoYeah... It would honestly be cool to have a TypeScript native React(as crazy as that sounds). There are some really great projects out there killing it like Nest, MobX, TypeORM, etc.. The React typings have come a long way though. I do quite a bit of TypeScript for the server though(less context switching and is mostly GoodEnough™) so still handy.
- azr79 9y agoAngular plays very well with typescript, because the entire framework is written in it, more than that, Angular Team is working with TypeScript Team to help make TS better, and vice-versa.