buscar no React
React.useEffect(function() {
console.log("Effect ran")
fetch("https://swapi.dev/api/people/1")
.then(res => res.json())
.then(data => setStarWarsData(data))
}, [])
Defeated Dormouse