Consume an API in React - useEffect, useState, Fetch

Consume an API in React - useEffect, useState, Fetch

Caleb Curry via YouTube Direct link

- Introduction

1 of 17

1 of 17

- Introduction

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Consume an API in React - useEffect, useState, Fetch

Automatically move to the next video in the Classroom when playback concludes

  1. 1 - Introduction
  2. 2 - Setup
  3. 3 - Creating our Component
  4. 4 - Requesting Data from the API
  5. 5 - useEffect
  6. 6 - useState
  7. 7 - Render JavaScript in HTML
  8. 8 - Quick review
  9. 9 - Create a button
  10. 10 - UseEffect dependency array
  11. 11 - Wire up our button onClick
  12. 12 - Check if loading
  13. 13 - Using an array in state
  14. 14 - using map to display in a loop
  15. 15 - Only show loading at first
  16. 16 - Conditionally disable button
  17. 17 - What's next?

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.