0

I'm just started using typescript in my react project but I'm finding difficulties to identify the actual use of typescript.

su_sundariya
  • 73
  • 1
  • 9
  • Typescript doesn't increase performance. Not sure why you came up with that idea. If you don't find it useful, don't use it. – Jonas Wilms Oct 10 '18 at 08:31
  • When used with React: a performance benefit might be that it renders the [prop-types](https://github.com/facebook/prop-types) library obsolete. Aside from that, the primary advantage of using TypeScript is the access to [static typing](https://stackoverflow.com/a/1517670/5566355) that it provides, which reduces the complexity of building applications by magnitudes. – Arman Charan Oct 10 '18 at 08:39
  • Thanks @arman charan I just want to how can I effectively use typescript over javascript – su_sundariya Oct 11 '18 at 07:35
  • By practising. VSCode has a lot of helpful tools. It'll become pretty evident whether TypeScript is for you after your first project. [Static Type Checking - React](https://reactjs.org/docs/static-type-checking.html) is typically a good place to start @su_sundariya – Arman Charan Oct 11 '18 at 07:45

0 Answers0