diff --git a/README.md b/README.md index 0cad65c..24ea688 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ See this [explanation](https://facebook.github.io/react/docs/higher-order-compon ## Compatible React Versions -Please use latest 3.x unless you need to support react@0.13. Versions prior to 3.x will not support ForwardRefs. +Please use latest 3.x. Versions prior to 3.x will not support ForwardRefs. | hoist-non-react-statics Version | Compatible React Version | |--------------------------|-------------------------------| -| 3.x | 0.14-16.x With ForwardRef Support | +| 3.x | 0.13-16.x With ForwardRef Support | | 2.x | 0.13-16.x Without ForwardRef Support | | 1.x | 0.13-16.2 | diff --git a/package.json b/package.json index af30027..ac71abe 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,6 @@ "dependencies": { "react-is": "^16.3.2" }, - "peerDependencies": { - "react": ">=14.x" - }, "devDependencies": { "babel": "^6.23.0", "babel-cli": "^6.24.1", diff --git a/src/index.js b/src/index.js index 49bf7b3..cbe4f01 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,6 @@ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ const ReactIs = require('react-is'); -const React = require('react'); const REACT_STATICS = { childContextTypes: true, contextType: true,