20 Creating a React app
This chapter covers
- Building a React project
- Setting up React components using the JSX format
- Creating class-based and function-based components
- Putting together a data store that stores local data and consumes an HTTP API
In this chapter, I start the process of creating a React application that has the same features as the standalone and Angular examples from earlier chapters. TypeScript is optional in React development, but there is good support available, and React development with TypeScript provides a good developer experience. For quick reference, table 20.1 lists the TypeScript compiler options used in this chapter.
Name |
Description |
---|
Get Essential TypeScript 5, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.