What is an event in React?

An event is like an action that can be triggered by the user for example by pressing a key etc. React can perform actions based on your events just like DOM in JS.