- 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.
推薦閱讀
- C# 7 and .NET Core Cookbook
- Fundamentals of Linux
- Visual Studio 2012 Cookbook
- C++ Builder 6.0下OpenGL編程技術(shù)
- Julia Cookbook
- Reactive Programming With Java 9
- C語(yǔ)言程序設(shè)計(jì)
- Visual FoxPro程序設(shè)計(jì)習(xí)題集及實(shí)驗(yàn)指導(dǎo)(第四版)
- NGINX Cookbook
- Microsoft Azure Storage Essentials
- Advanced Express Web Application Development
- Flowable流程引擎實(shí)戰(zhàn)
- 可視化H5頁(yè)面設(shè)計(jì)與制作:Mugeda標(biāo)準(zhǔn)教程
- C#程序開(kāi)發(fā)參考手冊(cè)
- Java EE 程序設(shè)計(jì)