-
Notifications
You must be signed in to change notification settings - Fork 3
ReshowComponent
Hill Liu edited this page May 7, 2018
·
1 revision
- componentDidMount
- super.componentDidMount();
- componentWillReceiveProps(nextProps)
- super.componentWillReceiveProps(nextProps);
- componentWillUnmount
- super.componentWillUnmount();
The safe way was call reshow(YourComponent) again;
import React from 'react';
import {reshow, ReshowComponent} from reshow;
class YourComponent extends ReshowComponent
{
/* your code */
}
export default reshow(YourComponent);