Permalink
Browse files

Update react / redux deps

* removes previous tapable deprecation warning
  • Loading branch information...
jameshadfield committed Nov 1, 2018
1 parent 90625ed commit 93c2b9ad7b60511d65afab51e416ebf29f700122
Showing with 6 additions and 21 deletions.
  1. +6 −7 package.json
  2. +0 −14 src/index.js
@@ -70,17 +70,16 @@
"papaparse": "^4.3.5",
"prop-types": "^15.6.0",
"query-string": "^4.2.3",
"react": "^16.2.0",
"react": "^16.6.0",
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^16.2.0",
"react-dom": "^16.6.0",
"react-ga": "^2.2.0",
"react-hot-loader": "^4.3.12",
"react-redux": "^5.0.6",
"react-redux": "^5.1.0",
"react-select": "^1.0.0-rc.5",
"react-tap-event-plugin": "^3.0.2",
"react-tweet-embed": "^1.1.0",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"request": "^2.87.0",
"whatwg-fetch": "^0.10.1",
"yaml-front-matter": "^4.0.0"
@@ -119,6 +118,6 @@
"webpack": "^4.16.5",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.19.1"
"webpack-hot-middleware": "^2.24.3"
}
}
@@ -7,7 +7,6 @@ import React from "react";
import ReactDOM from "react-dom";
import ReactGA from "react-ga";
import { Provider } from "react-redux";
import injectTapEventPlugin from "react-tap-event-plugin";
import configureStore from "./store";
/* S T Y L E S H E E T S */
import "./css/global.css";
@@ -41,16 +40,3 @@ const renderApp = () => {
renderApp();
/* to fix iOS's dreaded 300ms tap delay, we need this plugin
NOTE Facebook is not planning on supporting tap events (#436) because browsers are fixing/removing
the click delay. Unfortunately it will take a lot of time before all mobile
browsers (including iOS' UIWebView) will and can be updated.
https://github.com/zilverline/react-tap-event-plugin
Following https://github.com/zilverline/react-tap-event-plugin/issues/61
we wrap this in a try-catch as hotloading triggers errors */
try {
injectTapEventPlugin();
} catch (e) {
// empty
}

0 comments on commit 93c2b9a

Please sign in to comment.