The React Handbook

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Flavio Copes
Year: 0

Language: English
Pages: 207

Introduction......Page 5
Introduction to React......Page 7
How to install React......Page 9
How much JS you need to use React......Page 17
Variables......Page 18
Arrow functions......Page 21
Work with objects and arrays using Rest and Spread......Page 24
Object and array destructuring......Page 26
Template literals......Page 27
Classes......Page 32
Promises......Page 36
Async/Await......Page 42
ES Modules......Page 46
Single Page Apps......Page 51
Declarative......Page 54
Immutability......Page 55
Purity......Page 57
Composition......Page 58
The Virtual DOM......Page 60
Unidirectional Data Flow......Page 62
JSX......Page 64
Components......Page 74
State......Page 77
Props......Page 81
Presentational vs container components......Page 84
State vs Props......Page 86
PropTypes......Page 88
Fragment......Page 91
Events......Page 92
Lifecycle events......Page 97
Handling forms......Page 100
Reference a DOM element......Page 104
Server side rendering......Page 106
Context API......Page 110
Higher-order components......Page 113
Render Props......Page 115
Hooks......Page 117
Code splitting......Page 122
CSS in React......Page 124
SASS with React......Page 127
Styled Components......Page 128
Babel......Page 132
Webpack......Page 138
Prettier......Page 151
Introduction to Jest......Page 154
Testing React Components......Page 171
React Router......Page 176
Redux......Page 182
Next.js......Page 188
Gatsby......Page 198
Wrapping up......Page 207