How to Call and Render API Data in React

preview_player
Показать описание
In this React JS live coding workshop, you'll learn how to:

- Build a function that retrieves data from an API
- Implement a JSON parsing system for extracting data from an API
- Populate API data into a component's state using React hooks
- Render API data onto the screen

You can access the source code here:

This coding workshop was performed for students of Bottega University:

Рекомендации по теме
Комментарии
Автор

It took me a day of searching to find what you explained in less than an hour. Thank you for showing exactly how to properly map over the data returned, and take only the information needed.

claytonpersinger
Автор

This video needs more likes and views..
Nice content..

ignatiussani
Автор

This video was really helpful. Thanks a ton!

gabrielkripalani
Автор

i really enjoyed this video. very detailed and helpful. kept my attention

ebonitasha
Автор

How are you doing this without typing your data? I always get errors when using "any". It would be awesome if you could type this data you're retrieving too (since you're using TS). Thanks.

mattmarkus
Автор

great video but maybe go with dark theme

tandlose
Автор

I keep getting the error "posts.map is not a function" great video though

shanepeterman