- 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
- JavaScript高效圖形編程
- Mastering Ember.js
- MySQL 8 DBA基礎(chǔ)教程
- Jupyter數(shù)據(jù)科學(xué)實(shí)戰(zhàn)
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)
- Protocol-Oriented Programming with Swift
- Java程序設(shè)計(jì)案例教程
- INSTANT Yii 1.1 Application Development Starter
- JavaWeb從入門到精通(視頻實(shí)戰(zhàn)版)
- RESTful Web API Design with Node.js
- Mastering Machine Learning with scikit-learn
- PHP程序設(shè)計(jì)經(jīng)典300例
- Neo4j Graph Data Modeling
- ReactJS Blueprints