Replace react-addons-update with immutability-helper as Facebook are deprecating their addon

old
Ben Fox-Moore 2016-08-23 02:05:32 +02:00
parent abf91d3d24
commit 29b04f2b14
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import classnames from 'classnames';
import update from 'react-addons-update';
import update from 'immutability-helper';
import { themr } from 'react-css-themr';
import { RIPPLE } from '../identifiers.js';
import events from '../utils/events';

View File

@ -62,6 +62,7 @@
"express": "~4.13.4",
"extract-text-webpack-plugin": "~1.0.1",
"glob": "~7.0.3",
"immutability-helper": "~2.0.0",
"karma": "~1.1.2",
"karma-chrome-launcher": "~1.0.1",
"karma-cli": "~1.0.0",
@ -76,9 +77,8 @@
"phantomjs-prebuilt": "~2.1.7",
"postcss-loader": "~0.9.1",
"react": "~15.3.0",
"react-addons-update": "~15.3.0",
"react-addons-test-utils": "~15.3.0",
"react-addons-css-transition-group": "~15.3.0",
"react-addons-test-utils": "~15.3.0",
"react-docgen": "~2.8.2",
"react-dom": "~15.3.0",
"react-transform-catch-errors": "~1.0.2",
@ -114,10 +114,10 @@
"license": "MIT",
"peerDependencies": {
"classnames": "~2.2.0",
"immutability-helper": "~2.0.0",
"normalize.css": "~4.2.0",
"react": "~0.14 || ~15.3.0",
"react-addons-css-transition-group": "~0.14.0 || ~15.3.0",
"react-addons-update": "~0.14 || ~15.3.0",
"react-dom": "~0.14.0 || ~15.3.0"
}
}