- Learn React with TypeScript 3
- Carl Rippon
- 124字
- 2021-06-10 19:16:31
Understanding the benefits of TypeScript
When a JavaScript codebase grows, it can become hard to read and maintain. TypeScript is an extension of JavaScript, adding static types. The TypeScript compiler reads in TypeScript code that includes type information and produces clean, readable JavaScript with the type information transformed and removed. The compiled code can then run in our favorite browsers and Node.js.
TypeScript offers several benefits over JavaScript:
- Coding errors can be caught in the development process earlier
- Static types allow tools to be built that improve the developer experience and productivity
- JavaScript features that aren't implemented in all the browsers yet can actually be used in an app that targets those browsers
We'll go through these points in detail in the following sections.
推薦閱讀
- CockroachDB權威指南
- Learn Type:Driven Development
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- Instant Typeahead.js
- Hadoop+Spark大數據分析實戰
- Visual C++串口通信技術詳解(第2版)
- Hands-On Reinforcement Learning with Python
- Python算法從菜鳥到達人
- Building RESTful Python Web Services
- 從Java到Web程序設計教程
- 深度學習入門:基于Python的理論與實現
- After Effects CC技術大全
- SQL Server 2008實用教程(第3版)
- 少兒編程輕松學(全2冊)
- ASP.NET Core and Angular 2