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

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.
主站蜘蛛池模板: 马关县| 荥经县| 观塘区| 梅河口市| 涟源市| 奈曼旗| 洪洞县| 平昌县| 汉沽区| 高雄市| 宣化县| 璧山县| 正宁县| 阜新市| 饶平县| 科技| 林西县| 白银市| 金阳县| 德钦县| 澄迈县| 巨野县| 扶余县| 车险| 茂名市| 敖汉旗| 黄山市| 白山市| 新和县| 辉县市| 滁州市| 惠安县| 阳新县| 安龙县| 平原县| 阳城县| 安庆市| 高平市| 阜康市| 商丘市| 双鸭山市|