Create a Reusable Fetch Function6:31 with Guil Hernandez
Learn how to simplify your fetch requests by creating a reusable data-fetching function that runs the fetch, returns the response in JSON, and more.
You'll often see functions created to handle different response types. For example, the
parseJSON function in this Workspace snapshot.
You need to sign up for Treehouse in order to download course files.Sign up