Тёмный
No video :(

#47 Auto Focus React Input? | React Interview Questions  

itsCodingDoctor
Подписаться 12 тыс.
Просмотров 2,2 тыс.
50% 1

#47 Auto Focus React Input? | React Interview Questions #react #reactjs #reactinterviewquestions #reacthooks #html5
Please checkout below playlists:-
1. DAILY ONE REACT INTERVIEW QUESTION
• Daily React Interview ...
2. MNC INTERVIEW EXPERIENCES
• MNC Interview Experiences
3. TRICKY CSS QUESTIONS/DESIGNS
• Tricky CSS
4. MERN PROJECTS FROM SCRATCH
• MERN Projects
5. REACT IMPORTANT/RANDOM TOPICS
• React Topics
ReactJs Interview
React/Redux Coding Interview
Frontend Interview
javascript interview questions
reactjs interview questions and answers for experienced
advanced reactjs interview questions.
Please subscribe to my channel. Like, share and subsricption = 100% MOTIVATION
I hope you enjoy my channel videos!
Follow On Twitter:- @itscodingdoctor
Instagram:- / itscodingdoctor

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@pratik9822
@pratik9822 2 года назад
👍👍
@itscodingdoctor
@itscodingdoctor 2 года назад
👍
@silentwalker20111987
@silentwalker20111987 3 месяца назад
Try to test on iOS mobile. And this will not work :)
@rotembs
@rotembs 2 года назад
You can use autofocus attribute as well
@itscodingdoctor
@itscodingdoctor 2 года назад
Can you write an example here?
@rotembs
@rotembs 2 года назад
@@itscodingdoctor www.w3schools.com/tags/att_input_autofocus.asp
@hassamulhaq7762
@hassamulhaq7762 2 года назад
@@itscodingdoctor you explained also good because we need to focus using React.
@itscodingdoctor
@itscodingdoctor 2 года назад
Thanks bro for sharing 😊
@hassamulhaq7762
@hassamulhaq7762 2 года назад
How to pass useRef to custom components.
@itscodingdoctor
@itscodingdoctor 2 года назад
Can you tell me what is the use case?
@hassamulhaq7762
@hassamulhaq7762 2 года назад
@@itscodingdoctor I've a custom component and MyInput having a simple HTML input, i add this component in App.js and want to use useRef on MyInput.
@rotembs
@rotembs 2 года назад
@@hassamulhaq7762 Create a new ref on the Parent component: const ref = useRef() and pass it to the child with props like that: ref={ref}
@joeadeleke
@joeadeleke 2 года назад
@@hassamulhaq7762 ref forwarding
@joeadeleke
@joeadeleke 2 года назад
@@rotembs not so easy like that
@alexon2010
@alexon2010 Год назад
The impression I have is that nobody knows or understands how this Fucus React shit works, please it's nothing with this video, it's just that it's very stressful... Nobody uses focus this way they teach, there's still a lot of typeScript... For example I have an Input componet, where I have no idea which is the correct attribute in relation to the type script see -> it's like this in component input -> ref?: any, (BUT IT DOESN'T WORK) when having to consume component input like this -> fnOnChange('email', e.target.value)} /> Does not work
@itscodingdoctor
@itscodingdoctor Год назад
Try to follow exact code
Далее
The React Interview Questions You need to Know
21:29
Просмотров 33 тыс.
ПРОСТИ МЕНЯ, АСХАБ ТАМАЕВ
32:44
Просмотров 1,6 млн
Learn React Hooks: useRef - Simply Explained!
12:42
Просмотров 96 тыс.
Context API in react | get the concept
29:00
Просмотров 55 тыс.
My opinion on Angular 18 & React 19
9:47
Просмотров 56 тыс.