Just want to call to function on one click in react js
handleProjectSelection = (v1, v2) => () => {
console.log(`${v1} and ${v2}`)
}
anotherfunctionCall = (ss) => () => {
console.log(ss)
}
<p onClick={() => { this.handleProjectSelection("sdsdsd", 'dksdsd'); this.anotherfunctionCall("second");}}> click event </p>
if there are two function with double arrow then i want to call both on one click in react