Whereas in React it followscamelCaseconvention:
Whereas in React you must call preventDefault() explicitly:
function handleClick(event) {
event.preventDefault()
console.log(‘The link was clicked.’)
}