Тёмный

#54 useImperativeHandle hook & forwardRef | Side effect, Reducer and Context|A Complete React Course 

procademy
Подписаться 56 тыс.
Просмотров 1,6 тыс.
50% 1

In this lecture, let's learn about one more react hook which we rarely use but it is very useful in some of the scenario's. Here, we are talking about useImperativeHandle hook. This lecture will explain, how to expose functionalities from a component to its parent component, using useImperativeHandle hook and forwardRef.

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

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@shivendradwivedi8887
@shivendradwivedi8887 3 месяца назад
I changed the ref to any other like refff and used it in input compo like props.reff for ref attribute in input element in input compo, everything is working, but we need to learn proper way
@arammah
@arammah Год назад
sorry , why input.css file should be module?
@bestofilluminati
@bestofilluminati Год назад
to not use the css className as it is, but want to name the the css classes in browser dynamically. You can see by inspect the code.
Далее
Why Signals Are Better Than React Hooks
16:30
Просмотров 478 тыс.
Learn React Hooks: useCallback - Simply Explained!
17:15
Dynamic Refs and State in React
18:02
Просмотров 2,9 тыс.
Learn useReducer In 20 Minutes
20:12
Просмотров 508 тыс.
Context API in react | get the concept
29:00
Просмотров 60 тыс.
Never Forget React forwardRef Again
9:33
Просмотров 19 тыс.
React useRef and forwardRef in depth
10:32
Просмотров 25 тыс.