diff --git a/package.json b/package.json index f65558c3..f811d99e 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,6 @@ "lodash": "^4.17.2", "prop-types": "^15.5.8", "prop-types-extra": "^1.0.1", - "react-lifecycles-compat": "^3.0.4", "react-overlays": "^0.8.1", "react-popper": "^1.0.0", "warning": "^4.0.1" diff --git a/src/containers/contextContainer.js b/src/containers/contextContainer.js index c35f40e7..17da3b8f 100644 --- a/src/containers/contextContainer.js +++ b/src/containers/contextContainer.js @@ -1,6 +1,5 @@ import {pick} from 'lodash'; import React from 'react'; -import {polyfill} from 'react-lifecycles-compat'; import TypeaheadContext from '../TypeaheadContext'; import {getHintText, getIsOnlyResult} from '../utils'; @@ -60,8 +59,6 @@ function contextContainer(Typeahead) { } } - polyfill(WrappedTypeahead); - return WrappedTypeahead; }