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

  • 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.
主站蜘蛛池模板: 手机| 桃园县| 曲松县| 达日县| 东莞市| 华容县| 长治市| 宕昌县| 新巴尔虎右旗| 布尔津县| 吐鲁番市| 宁乡县| 昌图县| 莲花县| 贺州市| 大田县| 恭城| 上栗县| 安丘市| 宜州市| 怀集县| 西盟| 东乌珠穆沁旗| 双辽市| 太仓市| 阳朔县| 大竹县| 安丘市| 盘锦市| 舒兰市| 顺昌县| 砀山县| 泰顺县| 新巴尔虎右旗| 三河市| 科尔| 仙居县| 石阡县| 灵璧县| 阜康市| 大渡口区|