tyroprogrammer / learn-react-app

Application that will help you learn React fundamentals. Install this application locally - there's tutorial, code snippets and exercises. The main objective of this project is to help you get off the ground with React!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Connect to Live API

mitchross opened this issue · comments

Can you please add an example where we connect to an actual working API? Would be great to see how to manage APIs keys, constants, etc.

Working with actual working API is not different in React than in other frameworks/libraries. Please refer to this - https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch for more information on how to use fetch API. Since this is not specific to React, this is outside the scope of this tutorial.