Description
Course info
Level
Intermediate
Updated
Mar 16, 2021
Duration
2h 14m
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.

About the author
About the author

Christian Wenz is an author, consultant and trainer focusing on web technologies. He wrote or co-wrote over 100 books, is a fixture at international developer conferences since 2001, is a Microsoft Most Valuable Professional (MVP) for ASP.NET, an ASPInsiders member, and main author of the Zend PHP 5.5 certification.

More from the author
PHP Web Application Security
Intermediate
5h 18m
Jan 29, 2021
PHP: Getting Started
Beginner
3h 1m
Dec 9, 2020
More courses by Christian Wenz
Section Introduction Transcripts
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.