two functions in onclick react code example
Example 1: react js onclick call two functions
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
Example 2: react multiple event handlers]
onClick={() => { handleOpen(); handleChange() }}
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
onClick={() => { handleOpen(); handleChange() }}