Skip to content

Commit

Permalink
refactor(TabContent): remove obsolete react-lifecycles-compat
Browse files Browse the repository at this point in the history
New lifecycle methods were introduced in [`react@16.3`][1]
`reactstrap` has listed minimal `react` supported version as `16.3`

[1]: https://reactjs.org/blog/2018/03/29/react-v-16-3.html
  • Loading branch information
iamandrewluca committed May 12, 2020
1 parent 8f8cc98 commit e1915e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -257,7 +257,6 @@
"@babel/runtime": "^7.2.0",
"classnames": "^2.2.3",
"prop-types": "^15.5.8",
"react-lifecycles-compat": "^3.0.4",
"react-popper": "^1.3.6",
"react-transition-group": "^2.3.1"
},
Expand Down
2 changes: 0 additions & 2 deletions src/TabContent.js
@@ -1,5 +1,4 @@
import React, { Component } from 'react';
import { polyfill } from 'react-lifecycles-compat';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { TabContext } from './TabContext';
Expand Down Expand Up @@ -53,7 +52,6 @@ class TabContent extends Component {
}
}

polyfill(TabContent);
export default TabContent;

TabContent.propTypes = propTypes;
Expand Down

0 comments on commit e1915e8

Please sign in to comment.