官术网_书友最值得收藏!

  • Beginning React
  • Andrea Chiarelli
  • 201字
  • 2021-07-23 17:10:28

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: "By wrapping the App component, the BrowserRouter component enriches it with routing capabilities."

A block of code is set as follows:

class Catalog extends React.Component {
constructor() {
super();

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

import { BrowserRouter } from 'react-router-dom'
ReactDOM.render(
<BrowserRouter>
<App />
</BrowserRouter>
, document.getElementById('root'));

Any command-line input or output is written as follows:

create-react-app --version

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Now we need to create a view to display the Catalog component or the About page."

Activity: These are scenario-based activities that will let you practically apply what you've learned over the course of a complete section. They are typically in the context of a real-world problem or situation.


Warnings or important notes appear like this.
主站蜘蛛池模板: 罗甸县| 綦江县| 左权县| 大城县| 吉木萨尔县| 综艺| 长沙市| 九龙县| 镇安县| 托克逊县| 镇沅| 嵊泗县| 红原县| 淳化县| 凤庆县| 八宿县| 林周县| 迭部县| 洱源县| 成都市| 裕民县| 太谷县| 左贡县| 辉县市| 襄樊市| 二手房| 临城县| 南郑县| 和平县| 东乌珠穆沁旗| 鄱阳县| 鄂托克前旗| 津南区| 绥阳县| 黄山市| 荥经县| 准格尔旗| 灌阳县| 伊通| 恩平市| 高唐县|