Hey Pedro, you know what, I know all of this, but sill I'm watching each and every video of this series without fail, coz this is kind of revision for me, but I love the way you teach. Also in this video, I got to know you are just 21 year old, and this much knowledge and way of teaching is Just Wow. I'm 26 years old, and I can say you are an inspiration for me. Keep doing this great thing and Lots of Love from INDIA ❤💕
As someone who learned React with class based components this whole series has been extremely helpful! I've been going through all the videos and am almost caught up. I'm with you the whole ride and suggesting this series to friends. Thanks for making these!
My solution to the challenge involved using three different functions for the buttons - each button would fetch the api according to what category it was. (The "party" button would fetch using the url with "party" and so on..). Then I saw your solution and how simple it was.. 😅 Still have a lot to learn, but I'm thankful you are sharing your knowledge with us! 🙏😊
I really like your work because if you keep doing this kind of videos we understand the logic behind and since the logic is being applicable whenever you are helping us a lot.
Awesome and amazing Teacher! Thank you Pedro so much for your lessons! I'm watching all your videos and try to practice. Really your lessons are very helpful!
If it's possible can you make a video on your whole journey For example How you came to know coding How you become good at programming How you practice to become good How you earned 1st income through coding How you get 1st job Means you know everything But everything should be real as crystal clear
hello pedro thank u bro for your tutorials we are benefit and learning lot of things. i have a question you deployed (react node mysaq) to heroku . can you do a video how can we deploying it in digital ocean thanks🙏🙏🙏
So isn't it necessary to add {name:"", age:"", count:"" } in the predictAge useState? I don't know if you remember but you did it this way in the pokeapi and weather app videos. Btw, thanks for this awesome course, Pedro!
hey am having this problem at the end of the second example Module parse failed: Unexpected token (55:28) You may need an appropriate loader to handle this file type. | columnNumber: 7 | } > }, "Name: ", predictedAge?.name), /*#__PURE__*/React.createElement("h1", { | __self: this, | __source: { kindly help , it shows right after i put a question mark so that the age name and count can be mounted
Hi thanks for the video, what if you wanted to pass both the fact and the length, how would you change the setAdvert(res.data.fact) to bring an array of data?
Great tutorial, thank you! But I'm curious, Isn't it better approach in last exercise to create array with names for future buttons and use .map to create them all + pass argument with name of button for api call?
how to fetch data from your own localhost project js file? i created a api.js file to store my image url and ID for creating a image gallary component. How to read this file using axios?
@@PedroTechnologies Thank you, I really like your way of teaching. I will watch this series until the end. I want to learn more React from this channel.
This is not how I would fetch data in a real advanced project, this is just how i would do as a beginner. Episode 8 I will teach react query which is the best way imo
hello pedro i wanna to say thank you for your effort, well i wanna tell you that the Axios method doesn't wor for me, if you have any update relevant to it please give it to me and thank you so much
At 14:40 when we moved fetchdata to a new function for onClick handler, why did we still had to use useEffect, why did we not got rid of it completely? Why did we make a function call in it?
hello perdro thanks for thats wonder course, i have an issue of understand why you didn't used useEffect in the example2 and why not gaining an error an infinite loop like what happened in the prevous example
I had to keep pausing all the time to read the facts lol, and some of those facts were totally insane like a 17-year-old cat had 420 children in the 50's O.o
At 14:34 ... function is going out from the useEffect again, so how it doesnt call itself infinite times due to the component update ?, I mean, to me looks mostly like the first example. Thank you so much for sharing your knowledge.
Hello, sorry to bother but I wanted to ask. I've been using axios 0.27.0 and 0.27.1 and I was getting this error: ""./node_modules/axios/lib/adapters/http.js 13:12-28"" I did not know how to fix it, as it gave me more issues and i reverted to an older version. Is it fixed now in 0.27.2 ?
@@PedroTechnologies Your are great really, like its 21pm am going to understand your context react video.. pls keep postiming >15min video single application like you are doing with forms and authentications it very helpful and from time to time a solo project because we follow your pattern of logic how you split the code. really love your work
This is by far the most comprehensive yet easy React playlist I have seen on the internet. Thank you so much Pedro!!!
Hey Pedro, you know what, I know all of this, but sill I'm watching each and every video of this series without fail, coz this is kind of revision for me, but I love the way you teach. Also in this video, I got to know you are just 21 year old, and this much knowledge and way of teaching is Just Wow. I'm 26 years old, and I can say you are an inspiration for me. Keep doing this great thing and Lots of Love from INDIA ❤💕
As someone who learned React with class based components this whole series has been extremely helpful! I've been going through all the videos and am almost caught up. I'm with you the whole ride and suggesting this series to friends. Thanks for making these!
10 minutes in! And you realize that it’s always good to relearn stuff that you didn’t master.
One of the best teachers on RUclips. Love your videos!
I'm using React for my Final Project
This is really a great help
Thank u 😁
I've seen a lot of tutorials and this one by far the best, straight to the point.
My solution to the challenge involved using three different functions for the buttons - each button would fetch the api according to what category it was. (The "party" button would fetch using the url with "party" and so on..).
Then I saw your solution and how simple it was.. 😅
Still have a lot to learn, but I'm thankful you are sharing your knowledge with us! 🙏😊
Pedro, you are the best react js teacher for ever))
Pedro thank you so much, its like your classmate teaching in a most simpler perspective. Keep it up and don't stop :)
You are like an angel because really today I need to do a job test in react fetching data from an API... using swapi by the way
Glad I could help!
I haven't gotten to watch the whole video yet, but I know it's going to be good!! So here's a like and comment to for the algorithm ;)
Thank you! I look forward to good usage of useEffect in the next episode!
Thanks Pedro explaining the concepts or logic of cooding logic very well i have never seen before
this course is golden bro, best quality perfect thank you for your hard work
Thanks Pedro, watched your tutorial, digested the knowledge you provided and tried all the two examples and the exercise myself. Much Love.
API for excercise is down.
I really like your work because if you keep doing this kind of videos we understand the logic behind and since the logic is being applicable whenever you are helping us a lot.
The way and manner you teach is awesome, thank you, you're the best
Awesome and amazing Teacher! Thank you Pedro so much for your lessons! I'm watching all your videos and try to practice. Really your lessons are very helpful!
after searching for long hours finally found your video ans its great
Very easy explanation, and it's a great way to deliver the message. Keep going, Pedro's
If it's possible can you make a video on your whole journey
For example
How you came to know coding
How you become good at programming
How you practice to become good
How you earned 1st income through coding
How you get 1st job
Means you know everything
But everything should be real as crystal clear
Bro, I really appreciate you for this wonderful video with easy explanation, and please keep sharing with us like this.
That was awesome. I appreciate your videos very much. Bro, keep going
Hey, the last api is down. But the first two examples are suuuper helpful
Great, and thank you for this Video Content, Pedro!
hey its quite good love from india ❤❤
I loved the way you teach. Thank you so much for this amazing playlist. Love from Nepal brother❤️
i am learning again. thanks 😜
Very useful and easy to understand. Thanks a lot.
you make this topic really cool
Awesome video feed 👊
For last exercise I think that heroku API app is no longer accessible.
Awesome content as always
Appreciate your hard work 💪👍
woow,thank you for this video👋
Done. Thank you Pedro!
hello pedro thank u bro for your tutorials we are benefit and learning lot of things. i have a question you deployed (react node mysaq) to heroku . can you do a video how can we deploying it in digital ocean thanks🙏🙏🙏
This video is awesome! Your channel is pure gold man!
You should've put Enzo for a young man's name 🤣
Tamo junto
Nice video to revise
So isn't it necessary to add {name:"", age:"", count:"" } in the predictAge useState? I don't know if you remember but you did it this way in the pokeapi and weather app videos. Btw, thanks for this awesome course, Pedro!
You can do it both ways! By setting it null initially you can just use optiional chaining to fix it!
@@PedroTechnologies cool then, that was my doubt. Thanks!!
hey am having this problem at the end of the second example
Module parse failed: Unexpected token (55:28)
You may need an appropriate loader to handle this file type.
| columnNumber: 7
| }
> }, "Name: ", predictedAge?.name), /*#__PURE__*/React.createElement("h1", {
| __self: this,
| __source: {
kindly help , it shows right after i put a question mark so that the age name and count can be mounted
I really like your teaching style Pedro. Keep it up
Thanks! 😃
You are amazing Pedro. Gracias
You're the best Pedro❤❤❤❤❤
Thanks for such a great content but please make a dedicated video on usereducer hook with practice exercise
I will go over the UseReducer :)
Hi thanks for the video, what if you wanted to pass both the fact and the length, how would you change the setAdvert(res.data.fact) to bring an array of data?
Awesome tutorial thank you
You’re welcome 😊
Great tutorial, thank you! But I'm curious, Isn't it better approach in last exercise to create array with names for future buttons and use .map to create them all + pass argument with name of button for api call?
a good teacher
Great tutorials, what vscode theme do you use?
14:36 we can remove useEffect, which works as same when it was
Adding 'fetch' exactly as you showed throws this err : "Uncaught (in promise) SyntaxError: Unexpected end of input"
how to fetch data from your own localhost project js file? i created a api.js file to store my image url and ID for creating a image gallary component. How to read this file using axios?
Hi Pedro, could u please give the codes for above exercises.. It will be helpul for us
Please make a video, how to properly fetch data with StrictMode enable.
Im going to go over it when i talk about react query!
@@PedroTechnologies Thank you, I really like your way of teaching. I will watch this series until the end. I want to learn more React from this channel.
@PedroTech Isn't this code is vulnerable to Server Side Request Forgery (SSRF)?
This is not how I would fetch data in a real advanced project, this is just how i would do as a beginner. Episode 8 I will teach react query which is the best way imo
I think you missed one during fetc which is the loading before rendering the excuse
hello pedro i wanna to say thank you for your effort, well i wanna tell you that the Axios method doesn't wor for me, if you have any update relevant to it please give it to me and thank you so much
At 14:40 when we moved fetchdata to a new function for onClick handler, why did we still had to use useEffect, why did we not got rid of it completely? Why did we make a function call in it?
Hi Pedro, could you please tell me why didn't you add useEffect in example 2?
you just said $(dollar symbol) as money sign dude Thats on the go recording!!
I said dollar?! hahaha I always say money, maybe I am spending too much time in the US, need to go back!!
Thank you man!
so nice and helpful
Will you do a version of this for react native?
how to iterate all data frome api in dynamically plxz explain
Why didn't you use 'use effect' in the second example?
Wonderful bro😘
Excuser API is not available anymore. Pedro can you recommend another one?
The excuser api is dead 😢
Yeah Herokuapp api is ded but you can search for Excuser Api on google you'll get it. 👍
I used it 7 months ago
hello perdro thanks for thats wonder course,
i have an issue of understand why you didn't used useEffect in the example2 and why not gaining an error an infinite loop like what happened in the prevous example
Because fetchData() function just be called when you click on the button
Are tou going to do redux tutorial?
Yes!
Gosto muito os APIs -- cat facts e excuses. Escolhas boas 🙂
great tutorial but excuser api is dead ma homie
great video
I had to keep pausing all the time to read the facts lol, and some of those facts were totally insane like a 17-year-old cat had 420 children in the 50's O.o
Pedro do as next a video about POST request with AXIOS please!
onrender update, functions inside the component are trigger... this one got my mind twisted a little
At 14:34 ... function is going out from the useEffect again, so how it doesnt call itself infinite times due to the component update ?, I mean, to me looks mostly like the first example. Thank you so much for sharing your knowledge.
Simply, there is no a function call for that
Hello, sorry to bother but I wanted to ask. I've been using axios 0.27.0 and 0.27.1 and I was getting this error: ""./node_modules/axios/lib/adapters/http.js 13:12-28"" I did not know how to fix it, as it gave me more issues and i reverted to an older version. Is it fixed now in 0.27.2 ?
i tried having three different functions and api call way too long solution but achieved same outcome
nice exercise
Sad. Herokuapp doesn't offer free hosting anymore.
Use ….
import axios from 'axios’;
And…
axios(‘URL’)
Thanks me later
use fetch (axios from old times)
in the last excersie why for onclick he kept an arrow function?
Because here we have to pass the parameters
Brabooooo
I tried to do exercise, but the excuser app is no longer valid! Just letting everyone know that to save their time.
Cool! But Excuses api is no longer working(
try this one
@pedroTech Love Your Content!!!... Please keep making such productive videos. (P.S: if you want a frontend helper i am available haha :P)
valeu meu fi
Is anyone else getting an Axios network error?
cool
❤️❤️❤️
Your IG dont work :)
I changed it hahaha its pedro.fmachado_
@@PedroTechnologies Your are great really, like its 21pm am going to understand your context react video.. pls keep postiming >15min video single application like you are doing with forms and authentications it very helpful and from time to time a solo project because we follow your pattern of logic how you split the code. really love your work
❤❤❤❤
Make me GREAT!!!!!!
{2022-11-12}
15:40 Or they could be using Random. hahahaha
😘😀😘😀