setState a falso después de 10 segundos reaccionar nativos
saveAndContinue: function(e) {
e.preventDefault()
if(this.state.submitted==false) {
email = this.refs.email.getDOMNode().value
this.setState({email: email})
this.setState({submitted: !this.state.submitted});
setTimeout(function(){
this.setState({submitted:false});
}.bind(this),10000); // wait 5 seconds, then reset to false
}
}
Weary Sloth