- Learn React with TypeScript 3
- Carl Rippon
- 183字
- 2021-06-10 19:16:41
What is New in TypeScript 3
In its six years of existence, TypeScript has continued to move forward and mature nicely. Is TypeScript 3 a significant release for React developers? What exactly are the new features that we have to add to our toolkit in TypeScript 3? These questions will be answered in this chapter, starting with the tuple type and how it can now be successfully used with the rest and spread JavaScript syntax, which is very popular in the React community. We'll then move on to the new unknown type and how it can be used as an alternative to the any type. Further more, we'll break TypeScript projects up into smaller projects with the new project references in TypeScript. Finally, we'll go about defining default properties in a strongly-typed React component that has improved in TypeScript 3.
By the end of the chapter, we'll be ready to start learning how you can use TypeScript 3 to build frontends with React. In this chapter, we'll cover the following topics:
- Tuples
- The unknown type
- Project references
- Default JSX properties
- GAE編程指南
- PostgreSQL Cookbook
- Leap Motion Development Essentials
- Mastering QGIS
- C語言程序設計實訓教程
- The React Workshop
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Drupal 8 Configuration Management
- Spring+Spring MVC+MyBatis整合開發實戰
- 深入淺出PostgreSQL
- 區塊鏈底層設計Java實戰
- Machine Learning in Java
- Python爬蟲、數據分析與可視化:工具詳解與案例實戰
- Hands-On GUI Programming with C++ and Qt5
- ScratchJr趣味編程動手玩:讓孩子用編程講故事