In this chapter, we focused on networking with React. We started with promises, which make asynchronous network calls easier to implement. This a cleaner way to handle calls, and much better than using traditional callback functions.
In this book, we are using the fetch API for networking. Therefore, we went through the basics of using fetch. We implemented two practical React apps using the fetch API to call REST APIs and we presented the response data in the browser.
In the next chapter, we will look at some useful React components that we are going to use in our frontend.