Learning React is an open source textbook designed to be remixed, reused, or improved through submitting issues and pull requests on GitHub!
It can be read as processed markdown on GitHub or as HTML content on GitHub Pages for this project.
The word "Learning" in the title Learning React is purposeful. This is not an exhaustive list of everything in React and how to use it.
This book tries to outline and review major functionality React. Its purpose is to help someone learning React in order to move into more advanced functionality at their own pace. This can be thought of as more of a crash course in React functionality and concepts.
- Introduction
- Chapter 1: Introduction to the Command Line
- Chapter 2: Introducing Node.js
- Chapter 3: Thinking in HTML, Writing in JS
- Chapter 4: Introducing React
- Chapter 5: Event Listeners and Class Component State
- Chapter 6: Working with CSS in React
- Chapter 7: Class Component Lifecycle
- Chapter 8: Function Components
- Chapter 9: Higher-Order Components
- Chapter 10: Working with Data in React
- Chapter 11: Adding Contexts
- Chapter 12: Working with File Loader
Version | Release Date | Notes |
---|---|---|
1.0 | May 2020 | Initial version |
1.2 | August 2020 | Docs release |
Learning React uses Node.js, a JavaScript runtime, and HonKit, a tool for building books and other documentation projects using Markdown.
To prepare the project, run:
npm install
To re-build the book locally, run:
npm run build
To serve the local build, run
npm run serve
To produce the docs
directory, run:
npm run docs
The text and images of this book are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. When using the text or screenshots of this book for academic purposes, please use the following (APA) citation:
Cox, D. (2020). Learning React. GitHub repository. https://github.com/videlais/learning-react
All code examples are released under a Public Domain (CC0 1.0 Universal) license. You are free to use them for any commercial, hobby, or educational purpose without citation, attribution, or acknowledgement. Go and create freely!
React, Facebook, WebPack, Babel, and other tools are trademarked to their respective programs, organizations or companies.