Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
react 16/dep updates
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-haynes committed Feb 23, 2018
1 parent 81ad55f commit 4a27a7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"engines": {
"node": ">=5.0 <7",
"node": "9.3.0",
"npm": ">=3.3 <4"
},
"dependencies": {
Expand Down Expand Up @@ -38,7 +38,6 @@
"pretty-error": "2.0.0",
"prop-types": "^15.5.10",
"react": "^16.2.0",
"react-addons-transition-group": "^15.6.2",
"react-chartjs": "^0.8.0",
"react-collapse": "^4.0.3",
"react-dom": "^16.2.0",
Expand All @@ -61,7 +60,7 @@
"devDependencies": {
"assets-webpack-plugin": "^3.4.0",
"autoprefixer": "^6.4.0",
"babel-cli": "^6.14.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.14.0",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.5",
Expand Down
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ let renderComplete = (state, callback) => {
function render(container, state, component) {
return new Promise((resolve, reject) => {
try {
ReactDOM.render(
ReactDOM.hydrate(
component,
container,
renderComplete.bind(undefined, state, resolve)
Expand Down
3 changes: 2 additions & 1 deletion src/components/Html.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import { analytics } from '../config';

function Html({ title, description, style, script, children, state }) {
Expand Down

0 comments on commit 4a27a7d

Please sign in to comment.