Skip to content

derrickholleman/react-use-effect-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

practicing fetching from APIs using the useeffect hook. uses setLoading to make sure data is loaded before trying to render

Pokemon fetch uses Promise.all() to fetch specific pokemon that are populated in an array

Holidays-Weather combines two API fetches into one. Uses the country code from the weather data (based on a city typed into the input field) to fetch data from the holidays URL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published