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

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.
主站蜘蛛池模板: 平塘县| 和田市| 上栗县| 临泉县| 重庆市| 彭阳县| 仪征市| 祁东县| 成武县| 方城县| 黄平县| 湟源县| 新巴尔虎左旗| 正安县| 积石山| 崇文区| 图们市| 建湖县| 黑山县| 大港区| 江门市| 呼玛县| 克拉玛依市| 韶山市| 额尔古纳市| 南投市| 稻城县| 咸宁市| 新营市| 上饶县| 扎囊县| 苗栗县| 盐城市| 齐河县| 青海省| 五大连池市| 江安县| 呼玛县| 新源县| 土默特左旗| 特克斯县|