Calling APIs with React
Course info



Course info



Description
Single-page applications commonly use APIs to retrieve data from the server. In this course, Calling APIs with React, you’ll learn to use React to communicate with APIs. First, you’ll explore how to send HTTP requests and use the results from React. Next, you’ll discover more advanced mechanisms to call APIs, such as React Query and SWR. Finally, you’ll see how to test your APIs and use proper error handling. When you’re finished with this course, you’ll have the skills and knowledge of React needed to work with APIs.
Section Introduction Transcripts
Course Overview
Hi, everyone. My name is Christian Wenz, and welcome to my course, Calling APIs with React. I'm an independent developer and software architect and support many companies in everything web. Essentially, every single‑page application is using an API to exchange data and information with the server, and practically every React app is a single‑page application. In this course, we are going to look at different options to call an API from React. Some of the major topics that we will cover include making HTTP requests, using libraries like React Query, SWR, and Axios, properly handling errors, and testing APIs. By the end of this course, you will know how to call an API from React and handle the results. Before beginning the course, you should be familiar with the basics of using React. I hope you will join me on this journey to learn how to handle HTTP requests and more with the Calling APIs with React course, at Pluralsight.