reaja js onclick ligue para duas funções
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
Wild Warbler
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
class Test extends React.Component {
onClick(event) {
func1();
func2();
}
render() {
return (
<a href="#" onClick={this.onClick}>Test Link</a>
);
}
}