I'm into web development so TypeScript / JavaScript are parts of my stack. I also prefer TypeScript due to its typing system. Here are the problems.
-
Compatibility issues:
- Every now and then, an error will pop up because the library does not fully support TypeScript.
- ES version is also an issue, some libraries only support ES5, some ES6, and so on. This sometimes makes such a trivial task like
import
become a pain.
-
Transpiling issues:
- Although most of the tasks are handled by bundled cli like
create-react-app
, many times I spent hours just to figure out why myjest
tests fails as it could not run on this 1% TypeScript code. Certainly, this problem not limited tojest
though.
- Although most of the tasks are handled by bundled cli like
Be it a framework, a library, a programming language, etc. What are the pain points of your beloved technology?