React JS for beginners: Tutorial 10 - Fetching data from an API (part 2)
HTML-код
- Опубликовано: 10 апр 2020
- In this video we'll add a CSS loader, and an error message to our HTTP request.
Download the code
github.com/QuentinWatt/React-...
Follow me on social media:
Twitter: @QuentinWatt
Facebook: @quentinwatt
Instagram: @quentinwatt
Looking for a job? Try one of these referral links.
-----
Europe: (London, Germany, The Netherlands, Barcelona & more)
app.honeypot.io/ref/mDJbyi5GM2...
South Africa: (Cape Town, Johannesburg & Pretoria)
www.offerzen.com/z/V0ImHT
---
Subscribe:
/ quentinwatt
I also make videos here:
/ quentin
Donate with Paypal:
www.paypal.com/cgi-bin/webscr...
#LearnReact #FreeCourse #ReactForBeginners
Excellent teaching 👏
this is so underrated. Your teaching style is great and it is very concise
I appreciate that!
Very cool class, you helped me a lot
Thanks
awesome content ❤
Thanks 🙏🏻
Thank You so much Plz make more video
I will try my best
Awesome tutorial. waiting for next video :) Thanks
2 more have been uploaded :)
They are the last 2 for this beginner series. All 12 episodes basically work out to a 2 hour crash course.
@@QuentinWatt Thanks.Can we accept any advance tutorial like redux ?
Yes. I have to get around to making that type of content.
@@QuentinWatt Thanks :)
Do create more videos. ❤️❤️
Would you not be better off having multiple states, eg { loaded, setLoaded } rather than putting them all in the product state?
That’s another way to do it, but they all need to be set at the same time.
It should all tie up by video 12. We’ll return that whole object from a custom hook.
in case of an API that has" api key " how to write the code? Can someone help me with this? I am starting on react and cannot figure out how to do it in react. Thanks in advance.
But shouldn't we show some data instead of Loading animation? The user may need only text info, while reading he can check images or fully loaded page. What's your opinion on this?
You need to fetch the data to show it. Images or text will take time to fetch unless you already have them.
This is why there is a loading animation. To indicate to the user that we are fetching new data.
Where did you get the loader from? Great Video :)
Free CSS loaders at loaders.io
why don't you use fetch instead of Axios?
sir please make one project using react.🙇♀️
This is a real project.
The code for this series contains everything you need for a web app. This is exactly what you’d be expected to do at a job.
Follow from tutorial 1. We’ve been building a project this whole time.
@@QuentinWatt i am following from start i learned html and css from your tutorial and also recommend others also who are willing to be web developer.🙇♀️