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

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: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

import 'isomorphic-fetch';

(async () => {
const res = await fetch(...); // already polyfilled
})();

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

async getInitialProps({store}) {
await store.dispatch({type: 'FOO', payload: 'foo'}); // this could be async
return {custom: 'custom'};
}

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

 $ npm install isomorphic-fetch --save

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: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 城步| 年辖:市辖区| 淳安县| 井研县| 济源市| 进贤县| 宝清县| 遂宁市| 泰宁县| 利津县| 大同县| 梓潼县| 舟山市| 广东省| 清远市| 平山县| 昌都县| 宁远县| 武威市| 长寿区| 南陵县| 万源市| 乌海市| 泽普县| 吴川市| 凤冈县| 黄浦区| 鹤壁市| 翁源县| 大英县| 灵丘县| 临安市| 灵寿县| 西安市| 玉林市| 临海市| 青阳县| 克山县| 高尔夫| 涪陵区| 荔浦县|