Тёмный
No video :(

Controlled And Uncontrolled Inputs with React 

The Web School.
Подписаться 3,7 тыс.
Просмотров 2,9 тыс.
50% 1

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

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@TheWebSchool
@TheWebSchool 3 года назад
Indeed, you have the shorter (but a bit less comprehensible for beginners) version to handle the controlled inputs : const handleChange = e => { setInpData({ ...state, [e.target.name]: e.target.value }); }
@mikiyasmohammed8368
@mikiyasmohammed8368 2 года назад
Nice explanation. Thank you!