[sqllab] optimizing React (#1438)

* [sqllab] optimizing React

* Addressing comments and making npm run dev faster
This commit is contained in:
Maxime Beauchemin
2016-10-26 17:41:46 -07:00
committed by GitHub
parent 64d196442f
commit b24206387b
20 changed files with 133 additions and 75 deletions

View File

@@ -3,7 +3,7 @@ import { now, fDuration } from '../../modules/dates';
import { STATE_BSSTYLE_MAP } from '../common.js';
class Timer extends React.Component {
class Timer extends React.PureComponent {
constructor(props) {
super(props);
this.state = {