Skip to content

Vnzera/fetch-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This app fetches TechCrunch articles from the News API. I used the native Fetch API to make the request from within React's new useEffect hook. My API key is sent through the headers object which is used by the News API to verify my identity. The API key itself is hidden as an environment variable.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

Fetching data from the News API with React Hooks - https://fetch-news.netlify.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published