- Progressive Web Apps with React
- Scott Domes
- 217字
- 2021-07-08 09:36:09
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.js, we 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.
- Learn Type:Driven Development
- The Modern C++ Challenge
- Web交互界面設計與制作(微課版)
- SQL經典實例(第2版)
- 組態軟件技術與應用
- Learning Probabilistic Graphical Models in R
- Java系統化項目開發教程
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- C語言開發基礎教程(Dev-C++)(第2版)
- 一塊面包板玩轉Arduino編程
- 匯編語言編程基礎:基于LoongArch
- Oracle 12c從入門到精通(視頻教學超值版)
- 從零開始學Python大數據與量化交易
- Learning D3.js 5 Mapping(Second Edition)
- SQL Server 2014 Development Essentials