- Learn React with TypeScript 3
- Carl Rippon
- 201字
- 2021-06-10 19:16:41
Technical requirements
In this chapter, we will use the same technologies as in Chapter 1, TypeScript Basics:
- TypeScript playground: This is a website at https://www.typescriptlang.org/play/, which allows us to play around with and understand the features in TypeScript without installing it.
- Node.js and npm: TypeScript and React are dependent on these. You can install them from https://nodejs.org/en/download/. If you already have these installed, make sure npm is at least version 5.2.
- TypeScript: This can be installed via npm, entering the following command in a terminal:
npm install -g typescript
- It is important that we are using TypeScript 3 in this chapter. You can check your TypeScript version by using the following command in a terminal:
tsc -v
If you need to upgrade to the latest version, you can run the following command:
npm install -g typescript@latest
- Visual Studio Code: We'll need an editor to write our React and TypeScript code. This one can be installed from https://code.visualstudio.com/. We will also need the TSLint (by egamma) and Prettier (by Estben Petersen) extensions installed in Visual Studio Code.
All the code snippets in this chapter can be found at https://github.com/carlrip/LearnReact17WithTypeScript/tree/master/02-WhatsNewInTS3.
推薦閱讀
- 軟件架構設計:大型網(wǎng)站技術架構與業(yè)務架構融合之道
- 信息可視化的藝術:信息可視化在英國
- 跟小海龜學Python
- 教孩子學編程:C++入門圖解
- C語言程序設計
- 算法訓練營:提高篇(全彩版)
- Linux命令行與shell腳本編程大全(第4版)
- 零基礎學Kotlin之Android項目開發(fā)實戰(zhàn)
- 現(xiàn)代C++編程實戰(zhàn):132個核心技巧示例(原書第2版)
- Unity 3D/2D移動開發(fā)實戰(zhàn)教程
- 時空數(shù)據(jù)建模及其應用
- TypeScript 2.x By Example
- 跟戴銘學iOS編程:理順核心知識點
- Modernizing Legacy Applications in PHP
- Python大規(guī)模機器學習