Put in order · JavaScript and React course · Module 11: Data Fetching and APIs

From Basic fetch to Advanced Patterns

Arrange data fetching techniques from simplest to most advanced:

Items to put in order

  • fetch() with async/await and try/catch
  • Custom hook useFetch with AbortController
  • useEffect with loading/error/data states
  • Basic fetch() with .then()
  • useFetch with cache, retry, and infinite scroll

You can check the correct answer by solving this task in the CodeWorlds game.