[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

@@ -27,7 +27,7 @@ const defaultProps = {
};
class QueryTable extends React.Component {
class QueryTable extends React.PureComponent {
constructor(props) {
super(props);
const uri = window.location.toString();