I have a basic React question. Can you tell me what is the difference between the two onDismiss methods?
class App extends Component {
constructor (props){
super(props)
this.state = {..}
}
onDismiss (id){ ... }
onDismiss = (id) =>{ ... }
render(){...}
}
Thank you!!