Book Description
This open book is an introduction to React that works from the foundations upward. Each chapter takes you a little deeper into the React ecosystem, building on your previous knowledge. Along the way, you'll learn how to maintain internal state, pass information between parts of an application, and explore different options for styling your application. Whether you are completely new to React or if you've worked with it before, this series will be accessible to you. Every chapter is self contained, so you can jump between chapters or skip whole sections. The book is designed for you to take a concept and explore it by building a small project that mirrors what you will encounter in everyday development using React.
This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download How To Code in React.js ebook for free in PDF format (19.7 MB).
Table of Contents
How To Set Up a React Project with Create React App
How To Create React Elements with JSX
How To Create Custom Components in React
How To Customize React Components with Props
How To Create Wrapper Components in React with Props
How To Style React Components
How To Manage State on React Class Components
How To Manage State with Hooks on React Components
How To Share State Across React Components with Context
How To Debug React Components Using React Developer Tools
How To Handle DOM and Window Events with React
How To Build Forms in React
How To Handle Async Data Loading, Lazy Loading, and Code Splitting with React
How To Call Web APIs with the useEffect Hook in React
How To Manage State in React with Redux
How To Handle Routing in React Apps with React Router
How To Add Login Authentication to React Applications
How To Avoid Performance Pitfalls in React with memo, useMemo, and useCallback
How To Deploy a React Application with Nginx on Ubuntu 20.04
How To Deploy a React Application to DigitalOcean App Platform