ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

useImperativeHandle | React Hooks Tutorial #12

Автор: Philip Fabianek

Загружено: 2021-04-14

Просмотров: 6197

Описание: In this final episode of my React Hooks Tutorial, we will learn about the useImperativeHandle hook. In order to understand the useImperativeHandle hook, we first have to understand the concept of forwarding refs using the React.forwardRef function. This allows us to pass refs to nested components, because we cannot achieve so using the ref keyword. After that, we will make use of the useImperativeHandle hook inside an input to modify the forwarded ref by exposing a custom focusAndBlur property. The useImperativeHandle hook will allow us to call that method from the parent component using a button.

Starting repository:

https://github.com/philipfabianek/rea...

Ending repository:

https://github.com/philipfabianek/rea...

Timestamps:

►0:00 Introduction
►0:26 Explaining forwaring refs
►1:09 Explaining the useImperativeHandle hook
►1:44 Creating input and the parent ref
►2:23 Forwarding the parent ref
►3:38 Implementing the useImperativeHandle hook
►5:10 Creating a button to call focusAndBlur on click
►5:45 Ending

Social Media:

►Twitter:   / philip_fabianek  
►LinkedIn:   / philip-fabianek  
►Website: http://www.philipfabianek.com
►GitHub: https://github.com/philipfabianek

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
useImperativeHandle | React Hooks Tutorial #12

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Как на самом деле работает React? Глубокое погружение в React.js №1

Как на самом деле работает React? Глубокое погружение в React.js №1

Learn useRef in 11 Minutes

Learn useRef in 11 Minutes

Вероятно, вы неправильно используете React Hooks

Вероятно, вы неправильно используете React Hooks

React useRef and forwardRef in depth

React useRef and forwardRef in depth

Custom hooks | React Hooks Tutorial #10

Custom hooks | React Hooks Tutorial #10

Learn React useReducer Hook with Examples

Learn React useReducer Hook with Examples

React Fiber под капотом useState

React Fiber под капотом useState

Mastering React's useEffect

Mastering React's useEffect

This is the Only Right Way to Write React clean-code - SOLID

This is the Only Right Way to Write React clean-code - SOLID

useState | React Hooks Tutorial #3

useState | React Hooks Tutorial #3

React Hook useRef and forwarding refs with forwardRef

React Hook useRef and forwarding refs with forwardRef

React Hooks useLayoutEffect Tutorial

React Hooks useLayoutEffect Tutorial

Learn useEffect In 13 Minutes

Learn useEffect In 13 Minutes

Как на самом деле работают React Hooks? Глубокое погружение в React.js №3

Как на самом деле работают React Hooks? Глубокое погружение в React.js №3

Ускоренный курс по React Hooks (useMemo, useCallback и многое другое).

Ускоренный курс по React Hooks (useMemo, useCallback и многое другое).

What are React Hooks? | React Hooks Tutorial #1

What are React Hooks? | React Hooks Tutorial #1

Что такое React Fiber? Глубокое погружение в React.js №2

Что такое React Fiber? Глубокое погружение в React.js №2

What is React Compiler?

What is React Compiler?

useEffect | React Hooks Tutorial #4

useEffect | React Hooks Tutorial #4

10 React Antipatterns to Avoid - Code This, Not That!

10 React Antipatterns to Avoid - Code This, Not That!

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]