Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Write down the four main difference between HTML and React event handling?
Question Posted on 02 Jun 2021

Home >> JavaScript >> ReactJS >> Write down the four main difference between HTML and React event handling?




Write down the four main difference between HTML and React event handling?
Below are the four main difference between HTML and React event handling
(1)HTML:-HTML is generaly uses Lowercase.
(1)React:-React is generaly uses CamelCase.

(2)HTML:-In HTML we generaly we return false to prevent default behavior. Below is the syntax for the same


HTML Prevent
(2)React:-In React we need to call preventDefault explicitly.


React Prevent
(3)HTML:-In HTML to understand the lowercase we have given a example. Herer we use onclick in lowercase.


HTML Click
(3)React:-In React we use camelCase and below is the example to understand this. Here we passed the function reference inside curly braces.


React CLick
(4)HTML:-In HTML we need invoke the function by appending().
(4)React:-In React we should not append()
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Sevent most common difference between ReactJS and React Native
Basic definition for React?
What are the 3 main features of React
Method to create components in ReactJS and its ways and its syntax?
Write down the four main difference between HTML and React event handling?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |