- 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
- 軟件項(xiàng)目估算
- Flutter開發(fā)實(shí)戰(zhàn)詳解
- Mastering JavaScript Object-Oriented Programming
- Android開發(fā)精要
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- Unity Game Development Scripting
- Visual C#通用范例開發(fā)金典
- Julia for Data Science
- 軟件測(cè)試教程
- 新印象:解構(gòu)UI界面設(shè)計(jì)
- 智能手機(jī)故障檢測(cè)與維修從入門到精通
- 體驗(yàn)之道:從需求到實(shí)踐的用戶體驗(yàn)實(shí)戰(zhàn)
- Building a Media Center with Raspberry Pi
- Visual FoxPro程序設(shè)計(jì)習(xí)題及實(shí)驗(yàn)指導(dǎo)
- Manage Your SAP Projects with SAP Activate