I though custom hooks are complex and never attempted to understand it. But Tapas has made it easy. No complexity, no jargon - He has just made it simple. Great work.
I think we need to create the fetchData function outside of the useEffect otherwise it will create that function every time when the useEffect runs. Explanation is simple and good thanks for the video.
Nice job. I understand that this video tries to teach how to create a custom hook and does not go any further, but I observe in it that every time the user types a letter in the search field, an API call is made. This affects performance. Are you going to indicate in future videos how to avoid this? In another hand, I don't understand what Routing out-of-the-box means. Can you give more information?
Hey Tapas, I think there is a problem during the search call, Like on all each character the api request goes on each character, sir can we optimize this ?
Hey Darshan, Thanks for calling it out. Yes, we must optimize the API calls in the real apps. In this video my focus is to explain hooks than optimizing the API calls. But, when we make it production ready, we must optimize.
The syntax of useState is const [state,setState] = useState(initialization).......now my question is it mandatory to have same datatype for initialization and state
Kishore, what do you mean by the same data type? Do you mean it has to be the same data type of the value that we set later with the one we initiated with?
@@kishoregautam1096 You can set any data type later after you initialized the state. You can play around with this concept from here: stackblitz.com/edit/react-jv6a4d One important thing to note, in the Class component, when we set the object as value, it merges, in the case of useState, it replaces.
Let me know on which part you felt so. As you are learning React from this video, I’m also learning to make videos 😅. We both will go pro soon. Feedback helps!
@@tapasadhikary I appreciate you asking; on video 08, I faced this issue, so i changed the playback speed! Besides that, the tutorials are fantastic! especially when concepts are repeated in subsequent videos...
nice explanation!
Glad you liked it!
Very clear explanation . Thank you for your great effort
You are most welcome ✌️
Thank you sir. Your video content is great. Love it much.
Great, glad to know you are enjoying it 😀
Much awaited sir. I always wondered why custome hooks. Thanks for this
Welcome Shiv 👍
I though custom hooks are complex and never attempted to understand it. But Tapas has made it easy. No complexity, no jargon - He has just made it simple. Great work.
You are right, it's a much simpler concept than how we anticipate. Thanks for your comment 👍
We thought it's complex and never tried. After seeing ur video, it's just simple.
It is 👍
Thank you!
Lots of love For you .😍😍
Thanks, mate ❤️
nice explanation.
Thank you 🙏
superb explanation of custom hooks and api calls...looking forward more from you sir....Thanks much but where i can find your quiz questions?
Wow this channel is a gem! Thanks sir!
Thanks a lot, Andrew 💙. Just wish more people to know about the channel 🤩
Great teaching...!!!
Thank you 🙏
🔥🔥🔥🔥🔥🔥 Quality
Thanks a lot, bro 🙏
I think we need to create the fetchData function outside of the useEffect otherwise it will create that function every time when the useEffect runs. Explanation is simple and good thanks for the video.
Yes we can. It was for example purpose. Thanks a lot.
Nice job. I understand that this video tries to teach how to create a custom hook and does not go any further, but I observe in it that every time the user types a letter in the search field, an API call is made. This affects performance. Are you going to indicate in future videos how to avoid this?
In another hand, I don't understand what Routing out-of-the-box means. Can you give more information?
Yes we will take care of performance in future videos.
Out of the box means React library provides it by default.
quality content! but upload more videos frequently otherwise its breaking the flow! anyway looking forward to another hooks
You bet 👍
✊🔥👍
💙💙
Hey Tapas,
I think there is a problem during the search call, Like on all each character the api request goes on each character, sir can we optimize this ?
Hey Darshan, Thanks for calling it out.
Yes, we must optimize the API calls in the real apps. In this video my focus is to explain hooks than optimizing the API calls. But, when we make it production ready, we must optimize.
@@tapasadhikary I mean can we optimize the number of requests
Can you please create the separate video on how to reduce the number of api requests on each character ?
@@jaindharshan9704 Done! I will plan it.
@@tapasadhikary thanks a lot bro
The syntax of useState is const [state,setState] = useState(initialization).......now my question is it mandatory to have same datatype for initialization and state
Kishore, what do you mean by the same data type? Do you mean it has to be the same data type of the value that we set later with the one we initiated with?
@@tapasadhikary Yes, you got it correct, thats my question
@@kishoregautam1096 You can set any data type later after you initialized the state.
You can play around with this concept from here: stackblitz.com/edit/react-jv6a4d
One important thing to note, in the Class component, when we set the object as value, it merges, in the case of useState, it replaces.
@@kishoregautam1096 Hope you got the answer.
@@tapasadhikary Yes, thanks alot. The way you explain the concept is exceptional
sometimes you are talking too fast! and its not easy to follow you!
Let me know on which part you felt so. As you are learning React from this video, I’m also learning to make videos 😅. We both will go pro soon. Feedback helps!
@@tapasadhikary I appreciate you asking; on video 08, I faced this issue, so i changed the playback speed! Besides that, the tutorials are fantastic! especially when concepts are repeated in subsequent videos...
Thanks a lot 👍