News for hackers. Stuff that matters.
Re:Using TypeScript with React by skn0tt on Thursday August 22, 2019 @02:16PM (#20770901)
That's a very good point! Although I find the example to be rather exaggerated, I see how these types of errors can happen when you're dealing with very complex types. In the post, I also talk about how wrongly-typed dependencies will compromise type safety, which can be another source of errors.

Nonetheless, I think that TS can catch a lot of errors and will help documenting your code - and that's a very good thing on its own.

There are no comments on this comment yet.