5 Building user interfaces with React
This chapter covers
- An overview of the fundamental concepts of React
- Getting started with React, using the Create React App CLI tool
- Working with state in a React application, using React Hooks
So far in the book, weâve been focused on the backend aspects of our application: building the GraphQL API and working with the database. Now itâs time to turn our attention to the frontend. In chapter 1, we got a very brief overview of React and looked at a minimal code snippet of a React component. In this chapter, we return to React and begin building a React application that will be a client of our GraphQL API, searching for businesses and rendering results in the browser. Of course, it would be impossible ...