const fetchSuperHerors = () => { return axios.get('http://localhost:4000/superheroes') } const RQSuperHeroesPage = () => { const { isLoading, data, isError, error } = userQuery( 'super-heroes', fetchSuperHeroes ) if (isLoading) { return

Loading...

} if (isError) { return

{error.message}

} return ( <>

RQ Super Hereos

    data.map(item =>{ }
}