Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
comment whydidyouupdate temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
Metnew committed Jun 14, 2017
1 parent d16cae0 commit d210f59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/client/index.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react'
// import React from 'react'
import {render} from 'react-dom'
import {configureStore, configureRootComponent} from 'common'
// Styles
import 'semantic-ui-css/semantic.css'
import 'styles/index.scss'
// Performance and Devtools
import {whyDidYouUpdate} from 'why-did-you-update'
// import {whyDidYouUpdate} from 'why-did-you-update'
import Perf from 'react-addons-perf'
import config from 'config'

Expand All @@ -15,7 +15,7 @@ if (process.env.NODE_ENV === 'production') {
require('common/pwa')
} else if (process.env.NODE_ENV === 'development') {
window.Perf = Perf
whyDidYouUpdate(React)
// whyDidYouUpdate(React)
}

const preloadedState = window.__PRELOADED_STATE__ || {}
Expand Down
2 changes: 1 addition & 1 deletion src/common/containers/App/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class App extends Component {
// react-router `withRouter` props
location: PropTypes.object,
history: PropTypes.object,

// sidebarOpened can force component to re-render
sidebarOpened: PropTypes.bool,
closeSidebar: PropTypes.func,
Expand Down

0 comments on commit d210f59

Please sign in to comment.