Is there any difference between the way these 2 inputs use the event handler in terms of functionality or performance?
export default function App() {
const handleChange = e => {
console.log(e.target.value);
}
return (
<div className="App">
{/* example 1 */}
<input onChange={handleChange}></input>
{/* example 2 */}
<input onChange={e => handleChange(e)}></input>
</div>
);
}