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

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.
主站蜘蛛池模板: 马尔康县| 六枝特区| 定西市| 偃师市| 吉首市| 景洪市| 盈江县| 沙坪坝区| 茌平县| 军事| 永泰县| 聂荣县| 偏关县| 会宁县| 丹棱县| 天峻县| 信阳市| 延安市| 辽中县| 石门县| 宽甸| 台中市| 芮城县| 阜平县| 高淳县| 广安市| 湘阴县| 江安县| 宁津县| 新兴县| 新田县| 西平县| 扶沟县| 福鼎市| 普陀区| 克东县| 湾仔区| 外汇| 华宁县| 綦江县| 江安县|