React JS for beginners: Tutorial 9 - Fetching data from an API (part 1)

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 38

  • @prodarbour
    @prodarbour 2 года назад +1

    How would you display all the products on one page?

  • @SeekoZaHero
    @SeekoZaHero 2 года назад

    Im trying to learn this . Im not getting anything showing on the HTML . There are no errors in the console though.

  • @travenishere6063
    @travenishere6063 3 года назад +4

    INCREDIBLE a youtube tutorial on react that really works!
    If you have also already tried some other react tutorials you will know what I mean.

    • @QuentinWatt
      @QuentinWatt  2 года назад

      I know it's a late reply, but thank you.

  • @haseebhamid5269
    @haseebhamid5269 2 года назад

    wow same video on both channels with different voices

  • @kashmirtechtv2948
    @kashmirtechtv2948 2 года назад +2

    Wow. Awesome way of teaching. Every bit of the tutorial clearly explained

  • @DyNasty95
    @DyNasty95 3 года назад +5

    Really solid explanations and presentation, man.

  • @chillax781
    @chillax781 2 года назад

    The API I need to use is XML. When I turn it into JSON by add &outputFormat=JSON, it says React can't use an Object. It displays in Postman either way but on the app, it displays and console logs as an error. Any tips to get the XML data to display?

  • @mallikarjunateja3727
    @mallikarjunateja3727 2 года назад

    Awesome bro 👌👌 covered Hooks:-use state,useEffect,useParams and JSX stored in a Content variable for to use later with a if condition ,axios for API calls ,loved it man

  • @aravindpugal2645
    @aravindpugal2645 2 года назад

    hi dear bro do you have any sources for kubarnetes videos about that

  • @gatti311
    @gatti311 2 года назад

    Simple and clear tutorial! This helped me a lot. Thank you

  • @zax71
    @zax71 2 года назад

    Thank you! This was the only tutorial that worked for me.

  • @TheNamesJT
    @TheNamesJT 3 года назад

    Ugh don't think this is the video i was looking for I'm wanting to grab the data from a public api and have it display said date in my react component? I don't want to make an api for my project

    • @QuentinWatt
      @QuentinWatt  3 года назад +4

      Fetching the data is explained toward the end of the video. (Would work for any API)
      Practice a little patience and you’ll find what you’re looking for.

  • @luc7106
    @luc7106 2 года назад

    Thank you so much :) +1 subscriber

  • @nighthowledits721
    @nighthowledits721 2 года назад

    my data is being fetched but not shown on the page. what should i do??????????????????

    • @QuentinWatt
      @QuentinWatt  2 года назад

      Investigate until you find the bug. It’s part of the fun of building things.

  • @musha282
    @musha282 3 года назад +1

    why not use fetch instead of axios?

    • @QuentinWatt
      @QuentinWatt  3 года назад

      Personal preference.
      Axios does the json conversion automatically, and is a little bit more uniform in handling the GET, POST, PUT and DELETE requests that I had considered using in the series

  • @charanteja.k6410
    @charanteja.k6410 4 года назад +1

    Sir i have learned HTML5 & CSS3 FROM UR VIDEOS, it is very helping to us and such a good content is there,
    again i want to continue with javascript and jQuery , angularJS and so on .

    • @QuentinWatt
      @QuentinWatt  4 года назад +4

      My advice is, pick 1 and focus on building something great. You'll learn far more by actually building a project in 1 framework than you will by entering a polyamorous relationship with languages/frameworks.
      You'll be more employable that way.

    • @charanteja.k6410
      @charanteja.k6410 4 года назад

      @@QuentinWatt Sir... Actually I have learned HTML5 &CSS3 COURSES From your channel, really it's very nice content and I have learned easily,
      Is there available any Java Script and jQuery tutorials in your channel.

    • @QuentinWatt
      @QuentinWatt  4 года назад +1

      There are many JavaScript tutorials on my channel.
      I wouldn’t bother learning jquery though. You only need jquery if you’ll be working with Wordpress.
      Focus on Angular, React or Vue. My personal favorite is Vue. But you only need 1.

    • @charanteja.k6410
      @charanteja.k6410 4 года назад

      @@QuentinWatt thank you sir

  • @Retoweeb
    @Retoweeb 4 года назад

    I can't find the "Child Resource" option for the images, is there an explanation??

    • @QuentinWatt
      @QuentinWatt  4 года назад

      Please read the documentation, as mentioned in the video there is an animated GIF explaining how to do it.

  • @robinmathew8828
    @robinmathew8828 2 года назад

    if the the api is a api jar file is this program work

    • @QuentinWatt
      @QuentinWatt  2 года назад

      The industry standard is JSON data. Especially considering the front end in this case is Javascript.

  • @melfordbirakor
    @melfordbirakor 3 года назад

    Thanks

  • @devtom2060
    @devtom2060 3 года назад

    Awesome, will use it for sure :D

  • @jt663
    @jt663 3 года назад

    Really clear, thanks.

  • @turkisafouen2822
    @turkisafouen2822 3 года назад

    Well explained !

  • @santhoshm1847
    @santhoshm1847 4 года назад

    Amazing as usual...