Hacker News new | ask | show | jobs
by Rapzid 3059 days ago
I was just wondering about this today; thx for the link! Not sure how I missed it.
1 comments

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-element...).

This is also a bit of a pain point on Android with Java @NonNull annotations or when using Kotlin.

Yeah... 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.

Angular 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.