React tutorial in Hindi #41 Ref with Example
HTML-код
- Опубликовано: 10 сен 2024
- In this react js tutorial for beginners series we learn what is ref and how to use ref it with interview questions in react js. This video is made by anil Sidhu in the Hindi Language.
git link for this video
github.com/ani...
Playlist for complete React series in Hindi
link • React tutorial for beg...
Why use Ref
Make Class Component?
Ref use with example
Interview Question.
Join on Insta @php.step.by.step
I was searching channel for react for a month I found besttttt nice explaination✨✨
Happy to hear that!
Please try to make projects . Want to know how to make projects using state,setstate and props becz at the end these are only important terms which is useful for making projects. without implementing in projects we don't know how to implement these topics..please try sir..🙏
We can only use one ref per element.
in class base component we will use ref while in function base component we will use useRef hook.
thank you umeed ha k ap complete course upload karengy sir keep it up
Yes brother
sir waiting for the use of spread operator to add,update elements in array
Yes we can use multiple ref in one component
❤❤❤
i am getting an error when i am passing current.value in getval() function in console.log(this.inputRef.current.value). the error is uncaught typeError :can't read properties of null.
Good explaining
Keep watching
you use usememo hook for avoiding unnecessary re rendering . but we can use useEffect hook also in place of usememo.? becaouse useEffect also take dependenci like usememo
Please make a course of Next js
We can use it to get value like in Login page to avoid re-render?
useRef
1. plz make videos. Table Row , column, cell Data selection or show kese kare data ko ,, click par??
2. id ko URL me kese get kare ??
ya koi or tarika
Yes brother aisa 1 min project banega, jaldi ayega
@@codestepbystep Thanks
Class component is easy than fuctional component
I think functional component is easier than class based component
Hello sir waiting for PHP tutorial.
As soon as possible
@@codestepbystep k jaldi start kijiye
Not able to find answer to your interview questions
we can use as many as useRef or ref we want in function or class component.
sir I can not find u on Instagram
code.steps