Summary

The journey through data fetching in React has come to an end and now you know how to send and retreive data to and from API endpoints.

We saw how data flow works in React and why the approach it enforces can make our applications simple and clean.

We went through some of the most common patterns to make child and parent communicate using callbacks.

We learned how we can use a common parent to share data across components that are not directly connected.

In the second section, we started with a simple component, which was able to load data from GitHub, and we made it reusable, thanks to HoC.

We have now mastered the techniques that let us abstract the logic away from components so that we can make them as dumb as possible, improving their testability. ...

Get React Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.