| 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
(2)React:-In React we need to call preventDefault explicitly.
(3)HTML:-In HTML to understand the lowercase we have given a example. Herer we use onclick in lowercase.
(3)React:-In React we use camelCase and below is the example to understand this. Here we passed the function reference inside curly braces.
(4)HTML:-In HTML we need invoke the function by appending().
(4)React:-In React we should not append() | | |