Handling Events In React #7 React Course

Опубликовано: 21 Февраль 2022
на канале: Code with Sloba
19,149
99

Handling Events In Reactjs | Video Series 7 | Code With Sloba

In React, the event handlers allow you to call a function and trigger an action when an element is clicked, input changed or something else.

Handling events with React elements is very similar to handling events on DOM elements, with some differences:

React events are named using camelCase, rather than lowercase.

With JSX you pass a function as the event handler, rather than a string.

🧿 I discussed:

✔️ What are Reactjs events?
✔️ How to handle onClick events in Reactjs?
✔️ What are common mistakes in event handling in React?
✔️ How to call multiple functions from the event handler in React?

0:00 What are event handlers in React?
0:45 Handling onClick event in React
1:26 Common mistakes in event handling
2:17 Outro

************************************************************
Previous Video:    • React hooks #6 React Course | Code wi...  
Next video:    • Conditional Rendering in React #8 Rea...  
Full series:    • Full React Course  
************************************************************

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_  


Смотрите видео Handling Events In React #7 React Course онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code with Sloba 21 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,14 раз и оно понравилось 9 людям.