- Learn React with TypeScript 3
- Carl Rippon
- 192字
- 2021-06-10 19:16:30
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's create a new file called tsconfig.json in the root of our project."
A block of code is set as follows:
import * as React from "react";
const App: React.SFC = () => {
return <h1>My React App!</h1>;
};
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
interface IProps {
title: string;
content: string;
cancelCaption?: string;
okCaption?: string;
}
Any command-line input or output is written as follows:
cd my-components
npm install tslint tslint-react tslint-config-prettier --save-dev
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "We need to click the Install option to install the extension."
- LabVIEW 2018 虛擬儀器程序設(shè)計
- Node.js Design Patterns
- 數(shù)據(jù)結(jié)構(gòu)和算法基礎(chǔ)(Java語言實現(xiàn))
- 零基礎(chǔ)玩轉(zhuǎn)區(qū)塊鏈
- Java高手真經(jīng)(高級編程卷):Java Web高級開發(fā)技術(shù)
- Web開發(fā)的貴族:ASP.NET 3.5+SQL Server 2008
- 看透JavaScript:原理、方法與實踐
- 云原生Spring實戰(zhàn)
- Blender 3D Incredible Machines
- 計算機(jī)應(yīng)用基礎(chǔ)案例教程
- TypeScript 2.x By Example
- AMP:Building Accelerated Mobile Pages
- 安卓工程師教你玩轉(zhuǎn)Android
- INSTANT LESS CSS Preprocessor How-to
- Java 11 and 12:New Features