How to Fetch Data from an API with React ?

Опубликовано: 21 Октябрь 2024
на канале: Saumya Nayak
138
8

Here I show how can you get data from an API using React and simple Javascript. I fetch the Coindesk API here to get the current price of Bitcoin and show it to the user.
I hope you learnt something and do comment your thoughts below ! 🧡

API Link : https://api.coindesk.com/v1/bpi/curre...
Code Gist Link : https://gist.github.com/saumya66/da1c...

Hi there! New to Future Driven ? If so, here's what you need to know - Future Driven is the place where I share my journey with the you towards my goals related to Computer Science , Programming , Machine and Deep Learning , Solving Problems , Productivity , Life and above all learning and creating awesome things that contribute to our goals.
Subscribe to Future Driven and let's keep learning and achieving goals.

👨‍💻 Github : https://github.com/saumya66 ✔
📚 Personal Site : https://saumyanayak.tech/ ✔
💙 Twitter Handle :   / saumya4real   ✔
☑️ LinkedIn Profile :  / saumya-ranjan-nayak-30ba7a187   ✔
📙 Hashnode Blog : https://saumya.hashnode.dev/ ✔
💡 Dev.to Blog : https://dev.to/saumya66 ✔
✍️Quora : https://www.quora.com/profile/Saumya-... ✔