Sign in
Log inSign up
Victoria Lo

10 comments

Bolaji Ayodeji
Bolaji Ayodeji
Jul 24, 2020

Amazing read! Thanks for sharing.

2
·
·1 reply
Victoria Lo
Victoria Lo
Author
·Jul 24, 2020

Thank you! I'm glad you enjoyed it!

1
·
Edidiong Asikpo (Didi)
Edidiong Asikpo (Didi)
Jul 24, 2020

I love this Victoria Lo. Thanks for sharing.

2
·
·1 reply
Victoria Lo
Victoria Lo
Author
·Jul 24, 2020

Thanks! It was fun building this mini project too!

·
Rana Emad
Rana Emad
Jul 24, 2020

Amazing job! I love your writing style and thanks for the shout-out, Victoria Lo!

2
·
·1 reply
Victoria Lo
Victoria Lo
Author
·Jul 24, 2020

Thanks! And your article is amazing too! I was inspired from you :)

1
·
Steffy Lo
Steffy Lo
Jul 24, 2020

Great article! Glad my article helped you :)

1
·
·1 reply
Victoria Lo
Victoria Lo
Author
·Jul 24, 2020

Yup it did! Thanks!

1
·
Benjamin Ik
Benjamin Ik
Apr 18, 2021

In a situation where am not fetching data in the network, but fetching data from my local data array in my app (eg './contactData.js'). How do I change the code below to get the data

const fetchData = async () => { const res = await fetch('api.opendota.com/api/heroes'); const json = await res.json(); setData(json); setHeroes(json.slice()); };

1
·
Justin Cole
Justin Cole
Oct 3, 2020

Thanks 👍 this was a great example. I wonder if I could set the placeholder in the search bar to update too.

·