Upgrade React to 15.4

This commit is contained in:
lukasmartinelli 2016-11-23 16:04:00 +01:00
parent 824821f2c8
commit 5f9406d562
3 changed files with 12 additions and 7 deletions

View file

@ -24,10 +24,10 @@
"mapbox-gl": "^0.24.0", "mapbox-gl": "^0.24.0",
"mapbox-gl-style-spec": "mapbox/mapbox-gl-style-spec#83b1a3e5837d785af582efd5ed1a212f2df6a4ae", "mapbox-gl-style-spec": "mapbox/mapbox-gl-style-spec#83b1a3e5837d785af582efd5ed1a212f2df6a4ae",
"randomcolor": "^0.4.4", "randomcolor": "^0.4.4",
"react": "^15.3.0", "react": "^15.4.0",
"react-addons-pure-render-mixin": "15.3.1", "react-addons-pure-render-mixin": "^15.4.0",
"react-collapse": "^2.3.3", "react-collapse": "^2.3.3",
"react-dom": "15.3.0", "react-dom": "^15.4.0",
"react-file-reader-input": "^1.1.0", "react-file-reader-input": "^1.1.0",
"react-height": "^2.1.1", "react-height": "^2.1.1",
"react-icons": "^2.2.1", "react-icons": "^2.2.1",
@ -88,9 +88,13 @@
"html-webpack-plugin": "^2.22.0", "html-webpack-plugin": "^2.22.0",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"karma": "^1.3.0", "karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-mocha": "^1.3.0",
"karma-webpack": "^1.8.0", "karma-webpack": "^1.8.0",
"mocha": "^3.1.2",
"mocha-loader": "^1.0.0",
"node-sass": "^3.9.2", "node-sass": "^3.9.2",
"react-hot-loader": "1.3.0", "react-hot-loader": "^3.0.0-beta.6",
"sass-loader": "^4.0.1", "sass-loader": "^4.0.1",
"style-loader": "0.13.1", "style-loader": "0.13.1",
"transform-loader": "^0.2.3", "transform-loader": "^0.2.3",

View file

@ -1,5 +1,6 @@
import React from 'react'; import React from 'react';
import { render } from 'react-dom'; import ReactDOM from 'react-dom';
import App from './app.jsx'; import App from './app.jsx';
render(<App/>, document.querySelector("#app")); ReactDOM.render(<App/>, document.querySelector("#app"));

View file

@ -2,7 +2,7 @@ module.exports = [
{ {
test: /\.jsx?$/, test: /\.jsx?$/,
exclude: /(node_modules|bower_components|public)/, exclude: /(node_modules|bower_components|public)/,
loaders: ['react-hot'] loaders: ['react-hot-loader/webpack']
}, },
{ {
test: /\.jsx?$/, test: /\.jsx?$/,