April 2022
Intermediate to advanced
378 pages
6h 21m
English
This chapter explains networking with React. That is really important skill which we need in most of the React apps. We will learn about promises, which make asynchronous code cleaner and more readable. For networking, we will use the fetch and axios libraries. As an example, we will use the GitHub REST API to demonstrate how to consume RESTful web services with React.
In this chapter, we will cover the following topics:
In this book, we are using the Windows operating system, but all the tools are available for Linux and macOS via Node.js.
The following GitHub ...