- 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.
- Practical UX Design
- Django:Web Development with Python
- R語言編程指南
- C語言程序設計
- 游戲程序設計教程
- C語言程序設計同步訓練與上機指導(第三版)
- 程序設計基礎教程:C語言
- Asynchronous Android Programming(Second Edition)
- RabbitMQ Cookbook
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- .NET Standard 2.0 Cookbook
- RESTful Web Clients:基于超媒體的可復用客戶端
- Learning Nessus for Penetration Testing
- Visual Basic程序設計實驗指導及考試指南
- Laravel Design Patterns and Best Practices