Remove pure decorator from the Root container

This commit is contained in:
Ken-Håvard Lieng 2016-01-05 19:33:45 +01:00
parent 7c72cac71f
commit 24aa119377
3 changed files with 9 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,8 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Router } from 'react-router'; import { Router } from 'react-router';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import pure from 'pure-render-decorator';
import DevTools from './DevTools'; import DevTools from './DevTools';
@pure
export default class Root extends Component { export default class Root extends Component {
render() { render() {
const { store, routes, history } = this.props; const { store, routes, history } = this.props;

View File

@ -1,9 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Router } from 'react-router'; import { Router } from 'react-router';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import pure from 'pure-render-decorator';
@pure
export default class Root extends Component { export default class Root extends Component {
render() { render() {
const { store, routes, history } = this.props; const { store, routes, history } = this.props;