The following software versions have been used:
Tool/library | Description | Versions |
---|---|---|
Create React App |
Tool for generating React apps |
3.4.1 |
Cypress |
Automated test system |
4.11.0 |
Gatsby |
Tool for generating React apps |
2.23.12 |
Material-UI |
Component library |
4.11.0 |
Node |
JavaScript runtime |
v10.17.0 |
NPM |
The Node package manager |
6.11.3 |
NVM |
Tool for running multiple Node environments |
0.33.2 |
NWB |
Tool for generating React apps |
0.25.x |
Next.js |
Tool for generating React apps |
9.5.1 |
Preact |
Lightweight React-like framework |
10.3.2 |
Preact Custom Elements |
Library to create custom elements |
3.0.0 |
Rails |
Web development framework |
6.0.3.2 |
Razzle |
Tool for generating React apps |
3.1.6 |
React |
Web framework |
16.13.1 |
React Media |
Media queries in React code |
1.10.0 |
React Router (DOM) |
Library for managing React routes |
5.2.0 |
React Testing Library |
Unit testing library for React |
9.3.2 |
Ruby |
Language used by Rails |
2.7.0p0 |
Storybook |
Component gallery system |
5.3.19 |
Typescript |
Type-safe extension to JavaScript |
3.7.2 |
Webpacker |
Tool for adding React to Rails apps |
4.2.2 |
Yarn |
Another Node package manager |
1.12.3 |
The following typographical conventions are used in this book:
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant width
Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values or by values determined by context.
This element signifies a tip or suggestion.
This element signifies a general note.
This element indicates a warning or caution.
Supplemental material (code examples, exercises, etc.) is available for download at TBD.
If you have a technical question or a problem using the code examples, please send email to [email protected].
This book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.
We appreciate, but generally do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: “React Cookbook by David Griffiths and Dawn Griffiths (O’Reilly). Copyright 2021 O’Reilly Media Inc., 978-1-492-08584-3.”
If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at [email protected].
For more than 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed.
Our unique network of experts and innovators share their knowledge and expertise through books, articles, and our online learning platform. O’Reilly’s online learning platform gives you on-demand access to live training courses, in-depth learning paths, interactive coding environments, and a vast collection of text and video from O’Reilly and 200+ other publishers. For more information, visit http://oreilly.com.
Please address comments and questions concerning this book to the publisher:
We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at http://www.oreilly.com/catalog/9781492085843.
Email [email protected] to comment or ask technical questions about this book.
For news and information about our books and courses, visit http://oreilly.com.
Find us on Facebook: http://facebook.com/oreilly
Follow us on Twitter: http://twitter.com/oreillymedia
Watch us on YouTube: http://www.youtube.com/oreillymedia