Typescript and React
Editor Support- Inteleseness or autocomplete is a nice little perk of typescript. it comes with plenty of shortcuts and and intuitive guessing on what labels you might give functions.
Static Type Checking- Another perk to the actual typescript environment is that you don’t have to wait until you compile to get all your errors. Typescript errors will be underlined right away.
Universally compatible- with any browser. Typescript takes care of compiling your code to be universally read by any window regardless of which ECMA script it’s compatible with.
Learning Curve- There is definitely some getting use to with typescript.
To Lofty for Little Projects- as typescript takes a little more initial boiler plate setup and extra work and time compiling tsx files, it may be unnecessary for very small projects.
Misleading Clean code- occasionally for a variety of reasons it may miss mistakes in the code for various reasons. This means you can’t entirely lean upon typescript all the time to catch mistakes before compiling. Like any language or framework it’s good to stop often and make sure your code is still working.