Комментарии:
Thanks
Ответитьamazing explanation thanks 🥰
Ответитьvery cool!
ОтветитьThanks man
ОтветитьThis is the what i was looking for, you saved my life i was struggling to move the useEffect to another file. Thank you ❤
ОтветитьI watched 4 different Custom Hooks video tutorials. And the one from Net Ninja 🥷 is by far the most complete and comprehensible.
ОтветитьThanks Shuan
ОтветитьJust started this course and I have already built a landing page, something I have been tryjng for a year now, thanks so much
Ответитьcode of this video with explaination
ОтветитьIsnt useFetch is like react-query ?
Ответитьsince useEffect is now dependent on url, everytime the url changes, it renders new one!
but.. it there is a url that gives us error, the old template remains in tact.
To avoid that, we can setData(null) in catch..
My hero man,awesome,Ninja
ОтветитьAt lesson 20 have issues with "Unexpected token '<', "<!DOCTYPE "... is not valid JSON REACT" any ideas?
ОтветитьThis is excellent!!!
ОтветитьHey, thank you for useful informations! Why dont we use async and await but using setTimeout instead?
ОтветитьReally good tutorial and helped me exactly how I needed. I managed to do useFetch myself and get rid of hundreds of lines of duplicate code
ОтветитьHow can the custom hook be called with a button? Basically, like a Get Bloglist Submit button
ОтветитьHow can I love this more than once?
ОтветитьThis tutorial is 100% legit
ОтветитьHow to fetch multiple endpoints with custom hook?
ОтветитьThank you very much for this, but if i tray to fetch Date from Wordpress Rest Api then an error occurs "Objects are not valid as a React child If you meant to render a collection of children, use an array instead." how can ich solve this?
ОтветитьThat's excellent explanation.
The only thing I would like to add in this custom hook is a cleanup function to abort the fetch request in case of unmounting etc.
very nice! :)
ОтветитьFor the first time I don't want a tutorial to end - learning so freaking much
ОтветитьThank you
ОтветитьThanks for your video, but there is a question. Since fetch is an aysnc function, we get the data after 1 second, but you return them immediately. Is there any trouble?
ОтветитьYou are a great teacher
Ответитьi love you man, your tutorials are simply amazing
ОтветитьMy custom Hook is not working
ОтветитьImpressive bro... 10/10
Ответитьsuperb work
Ответитьit is one of the best learning methods that suit me!
thanks👋
this is awesome! the best explanation of the topics/
Ответитьwhat do you call that thing where you use a colon to make blogs reference the data passed in? Does that have a name?
ОтветитьWhat if it's a post request ?
ОтветитьThanks for giving a super practical use case for the example. This makes code very clean and easy to use. ⭐
ОтветитьKudos bro, I'm no fan of JavaScript, or should I say 'was'.
This tutorial is just perfect
Thanks
ОтветитьReally great explanation 👏
ОтветитьYou making developing fun. Why? Because you make it feel not like a chaotic minefield in ones' head. Obrigado (I am not Portuguese nor Brasilian).
ОтветитьI LOVE YOU
Ответитьperfect
ОтветитьDoes anyone know why when my custom hook returns the variables as an object instead of an array they come back as "undefined" but if I return the values in an array they're properly accessible?
ОтветитьExcellent , well done !
ОтветитьExcellent explanation!
Ответить