Improve performance of the map by using Pure Components
This commit is contained in:
parent
9bd5d5c9c8
commit
fe814718eb
6 changed files with 9 additions and 9 deletions
|
|
@ -22,7 +22,7 @@ export type ControlMapProps = {
|
|||
state: State
|
||||
};
|
||||
|
||||
export default class ControlMap extends React.Component<ControlMapProps> {
|
||||
export default class ControlMap extends React.PureComponent<ControlMapProps> {
|
||||
constructor(props: ControlMapProps) {
|
||||
super(props);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue