ReactJS Tutorial 59: Fetching Recipes From API

preview_player
Показать описание
In this lecture we will learn how to fetch recipes from an API
Рекомендации по теме
Комментарии
Автор

Amazing playlist for React 18! I hope you come back with new courses, you are amazing!!

federicai
Автор

i think you should display the individual items in a different component as this will enable us to get familiar with the Use params. please do this for us thank you.

oluwatoyosiolaniyan
Автор

Failed to load resource: the server responded with a status of 404 ()
Uncaught (in promise) SyntaxError: Unexpected token '<', "<html><hea"... is not valid JSON
this error occur when getting reciepe details. any solution

AshishKumar-rjqk
Автор

async function fetchFoodData() {
const res = await
const data = await res.json();
console.log(data);
}
fetchFoodData();
im getting error in fetch (uncaught inpromise)

plz help me rectify it

athullyar