Use React.PureComponent instead of React.Component (#6653)
This commit is contained in:
parent
61e6275781
commit
13cf92df27
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|||
const emptyComponent = () => null;
|
||||
const noop = () => { };
|
||||
|
||||
class Bundle extends React.Component {
|
||||
class Bundle extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
fetchComponent: PropTypes.func.isRequired,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue