Skip to content

Commit

Permalink
React updated to version 16.x
Browse files Browse the repository at this point in the history
Updated dependencies
  • Loading branch information
kireerik committed Nov 15, 2017
1 parent 864c421 commit 20aa45f
Show file tree
Hide file tree
Showing 3 changed files with 585 additions and 428 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
, "compression": "1.x"
, "html-minifier": "3.x"

, "react": "15.x"
, "react-dom": "15.x"
, "react": "16.x"
, "react-dom": "16.x"
, "styled-components": "2.x"

, "material-ui": "0.x"
Expand Down
4 changes: 2 additions & 2 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react'
import {render} from 'react-dom'
import {hydrate} from 'react-dom'

import Application from './application/Main'

render(<Application userAgent={navigator.userAgent} />, document.getElementById('root'))
hydrate(<Application userAgent={navigator.userAgent} />, document.getElementById('root'))

if (module.hot)
module.hot.accept()
Loading

0 comments on commit 20aa45f

Please sign in to comment.