News for hackers. Stuff that matters.
Re:Using TypeScript with React by cryptica on Thursday August 22, 2019 @12:18PM (#20769677)
You can come up with any number of excuses but the bottom line is that TypeScript adds complexity which creates a lot of different problems which plain JavaScript does not have.
Re:Using TypeScript with React by EpicEng on Thursday August 22, 2019 @02:14PM (#20770877)
Because JS apps never have package management issues, right? If you don't understand your tools, it will eventually bite you. Has nothing to do with TS.
Re:Using TypeScript with React by throwawaytoday5 on Thursday August 22, 2019 @01:02PM (#20770183)
It's not really excuses when the person doesn't understand what they are doing or why. The problem is entirely with how NPM downloads dependencies, not exactly typescript.

The OP is rightfully getting type errors due to conflicting type defs, why is that a bad thing?

Re:Using TypeScript with React by dentemple on Thursday August 22, 2019 @12:48PM (#20769995)
I mean, any time that you're not locking package versions, you're going to be in for a bad time, regardless of technology.