react-progress-button
react-progress-button copied to clipboard
"this.props.state" did not clear
I code this.setState({buttonState: 'error'});
It works. I can inspect this.state.currentState goes as ""->"loading"->"error"->""
But this.props.state goes as ""->"error", it freezed at "error"