Комментарии:
i know this is not react related but, can u do a tutorial on neovim or vim or just the vim motion in your vscode
Ответитьcan you please make a video about casl in react ? or virtualization in react (from scratch)
ОтветитьNice. Must watch this later . 😊
Ответить@cosdensolutions please share the Code
Ответить@cosdensolutions please share the code
Ответитьhi question when to use this clean up pattern?
useEffect( ()=>{
var mounted = true
// do logic here
return () => { mounted = false }
},[])
1440p. great!
Ответитьa video on your vs code setup
ОтветитьJust a reminder: custom hooks do not need to have .tsx or .jsx file extensions, when they dont return any JSX code.
The only thing is that they need to be called within a functional component
Hi I have watched your single responsibility principle, in that video you have mentioned a separate util to fetch the api, should the api fetching part in the useFetchComments should moved separately to achieve SRP ?
ОтветитьSir use the simple react without Typescript more people will watch, understand and grasp the code properly.
ОтветитьReally quality content
Ответитьthanks you!!! (especially subtitle)
Ответитьthis is exactly what i need
ОтветитьIn Initial code, it was locally adding the comment, in Your refactor code you are fetching all records again. And its a good practice to do update the state locally without fetching on each comment. So how can we locally update the state using mentioned custom hooks approach,
Thank you
I had a discussion just yesterday about what should be contained within a custom hook. Should it only be code which includes state management / jsx or can it also include 'helper' functions (which could just be part of a non-hook helper file)? I'd be interested in hearing peoples perspectives.
ОтветитьLove your videos, will you create a react course with TS? I would definetly buy it!
ОтветитьI love that you make it look so easy even for people who are not very much experienced with react.
ОтветитьThese types of videos are the types of videos that I benefit from the most. Very clean and very straightforward. Thank you
ОтветитьGreat and simple tutorial to understand Custom Hooks, thank you. Just a question though - how does it improve performance comparing to the initial code as you explained?
Ответитьit helps me a lot, really appreciate all of your videos, thank you
ОтветитьBro how long have you been coding for?
Ответитьvery nice clear precise and effective video, every time ads come i will never skip the ads i'll try to help people like you as best as i can😁
ОтветитьCan you make a video guide for Vim in vs code. how to do add it and set it up. Would be very usefull. Thanks!
ОтветитьI humbly suggest considering a tutorial series that encompasses all the essential topics.
ОтветитьSeus vídeos são incríveis e explicativos 👏👏👏👏
ОтветитьDo we have any code repo for this video?
ОтветитьI prefer writing my custom hook code in my component file as it is better organized and easily maintainable. Is there any downside to this approach in the long run?
ОтветитьWhen you say custom hooks have to be prefixed with use, just for clarity, its just a best practice, react doesnt impose this nor it would treat a hook function any different if it wasnt prefixed with use.
ОтветитьFirstly, this is incredible content! Very clear instructions. Quick question: what if you've abstracted state that needs to be updated via some sort of interaction (e.g. like a button click)? do you also pass down "setters" for the state ,or is that an anti-pattern?
ОтветитьReact devs, this guy is the real deal. Trust
Ответитьwhat theme are you using in vscode?
ОтветитьAwesome tutorial! Clear, concise and exhaustive. 💯
ОтветитьLoved the video! Would it also have been reasonable to keep the comments/setComments in CommentsPage and pass comments/setComments to both useFetchComments and useAddComment?
ОтветитьAwesome, now I need to do it again in slow motion with a lot of extra processing :)
ОтветитьPerfect tutorial. Must watch for beginner react devs
Ответитьso this is an alternative for HOC , right?
ОтветитьGreat video
ОтветитьI could learn a lot of from your videos. ❤
Ответить