Add all chapters

Jason Zhu 2022-01-09 18:55:41 +11:00
parent 0ea96d20f1
commit 57f3269600
6 changed files with 116 additions and 0 deletions

21
chap07.md Normal file

@ -0,0 +1,21 @@
# Chapter 7. Enhancing Components with Hooks
## 7.1 Introducing useEffect
### 7.1.1 The Dependency Array
### 7.1.2 Deep Checking Dependencies
### 7.1.3 When to useLayoutEffect
### 7.1.4 Rules to Follow with Hooks
### 7.1.5 Improving Code with useReducer
### 7.1.6 useReducer to Handle Complex State
### 7.1.7 Improving Component Performance
### 7.1.8 shouldComponentUpdate and PureComponent
### 7.1.9 When to Refactor

41
chap08.md Normal file

@ -0,0 +1,41 @@
# Chapter 8. Incorporating Data
## 8.1 Requesting Data
### 8.1.1 Sending Data with a Request
### 8.1.2 Uploading Files with fetch
### 8.1.3 Authorized Requests
### 8.1.4 Saving Data locally
### 8.1.5 Handling Promise States
## 8.2 Render Props
## 8.3 Virtualized Lists
### 8.3.1 Creating a Fetch Hook
### 8.3.2 Creating a Fetch Component
### 8.3.3 Handling Multiple Requests
### 8.3.4 Memozing Values
### 8.3.5 Waterfall Requests
### 8.3.6 Throttling the Network Speed
### 8.3.7 Parallel Requests
### 8.3.8 Waiting for Values
### 8.3.9 Canceling Requests
## 8.4 Introducing GraphQL
### 8.4.1 GitHub GraphQL API
### 8.4.2 Making a GraphQL Request

15
chap09.md Normal file

@ -0,0 +1,15 @@
# Chapter 9. Suspense
## 9.1 Error Boundaries
## 9.2 Code Splitting
### 9.2.1 Introducing: The Suspense Component
### 9.2.2 Usinig Suspense with Data
### 9.2.3 Throwing Promises
### 9.2.4 Building Suspenseful Data Sources
### 9.2.5 Fiber

17
chap10.md Normal file

@ -0,0 +1,17 @@
# Chapter 10. React Testing
## 10.1 ESLint
### 10.1.1 ESLint Plug-Ins
## 10.2 Prettier
### 10.2.1 Configuring Prettier by Project
## 10.3 Typecheching for React Applications
## 10.4 Test-Driven Development
## 10.5 Incorporating Jest
## 10.6 Testing React Components

11
chap11.md Normal file

@ -0,0 +1,11 @@
# Chapter 11. React Router
## 11.1 Incorporating the Router
## 11.2 Router Properties
### 11.2.1 Nesting Routes
## 11.3 Using Redirects
### 11.3.1 Routing Paramters

11
chap12.md Normal file

@ -0,0 +1,11 @@
# Chapter 12. React and the Server
## 12.1 Isomorphic Versus Universal
## 12.2 Server Rendering React
## 12.3 Server Rendering with Next.js
## 12.4 Gatsby
## 12.5 React in the Future