React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in React JS by

What is the difference between HTML and React event handling?

Click here to read more about React JS

1 Answer

0 votes
by

In HTML, the event name should be in lowercase and you can return false to prevent default behavior

And in React it follows camelCase convention and you must call preventDefault() explicitly

Related questions

Madanswer
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
...