chenglou / chenglou/react-motion
setState(...): Can only update a mounted or mounting component.
Open
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
version: 0.5.2
//Transition
```
didLeave() {
const { didLeave } = this.props;
didLeave();
}
{ this.renderDom.bind(this) }
```
//container
```
destroyToast() {
const { node } = this.props; //node: another container render to body
const unmountResult = ReactDOM.unmountComponentAtNode(node);
if (unmountResult && node.parentNode) {
node.parentNode.removeChild(node);
}
}
{ message }
```
thanks~
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.