Is it possible detect undefined method in this case?
export default class Test extends Component {
render() {
return (
<Example
onClick={this.undefinedMethod}
/>
);
}
}
Is it possible detect undefined method in this case?
export default class Test extends Component {
render() {
return (
<Example
onClick={this.undefinedMethod}
/>
);
}
}