i. In HTML, the event name usually represents in lowercase as a convention:
<button onclick='activateLasers()'>
Whereas in React it follows camelCase convention:
<button onClick={activateLasers}>
ii. In HTML, you can retur false to prevent default behaviour:
< href="# onclick='console.log("The link was clicked"); return false /'>
Whereas in React you must call preventDeafult() explicitly:
function handleClick(event){
event.preventDefault()
console.log('The link was clicked.')
}
iii. In HTML, you need to invoke the function by appending () Whereas in react you should not
append () with the function name. (refer "activateLasers" function in the first point .)