This video is available to students only

Module 2 Recap

Here we're going to recap what we've learned in Module 2

This is a short lesson that will recap everything we've learned in Module 2. We've covered a lot of ground in this module, so let's take a moment to review the key concepts.

What we've learnt#

  1. We've learnt how to fetch data before a react component loads which is a huge performance win for your users.

  2. We've learnt' how to put the data in a cache and only fetch data that doesn't exist in the cache.

  3. We've also learnt how to fetch data on an event, in the case of our project it was a hover event but the same technique can be used for any event.

  4. And finally, we've learnt how to add loading and error states to our data fetching, so we added statuses to our cache data and formatted the data to return the correct object.

This lesson preview is part of the React Data Fetching: Beyond the Basics course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

Unlock This Course

Get unlimited access to React Data Fetching: Beyond the Basics, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course React Data Fetching: Beyond the Basics