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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: Inside App.jswe first import the LoginContainer.

A block of code is set as follows:

import React, { Component } from 'react';
import LoginContainer from './LoginContainer';
import './app.css';


class App extends Component {
render() {
return <LoginContainer />
}
}

export default App;

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

if (module.hot) {
module.hot.accept('./components/App', () => {
const NextApp = require('./components/App').default;
ReactDOM.render(
<App/>,
document.getElementById('root')
);
});
}

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

 yarn add css-loader style-loader

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: Flip back to the app, and you should see the Hello from LoginContainer of our new component.

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 横峰县| 永兴县| 游戏| 太仓市| 东宁县| 周口市| 图木舒克市| 天门市| 潮州市| 隆回县| 航空| 南平市| 科技| 尖扎县| 屯留县| 宜兴市| 普陀区| 额敏县| 德州市| 临夏县| 鄂伦春自治旗| 竹北市| 株洲市| 内江市| 应用必备| 双峰县| 始兴县| 和政县| 扶风县| 宜川县| 子长县| 汉阴县| 曲麻莱县| 台中县| 彭州市| 荆州市| 临朐县| 柘荣县| 延吉市| 达拉特旗| 铁岭县|