Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unsafe lifecycle methods from our components #4902

Closed
3 of 5 tasks
joshblack opened this issue Dec 17, 2019 · 0 comments · Fixed by #6307
Closed
3 of 5 tasks

Remove unsafe lifecycle methods from our components #4902

joshblack opened this issue Dec 17, 2019 · 0 comments · Fixed by #6307
Assignees
Labels
package: react carbon-components-react role: dev 🤖 severity: 4 https://ibm.biz/carbon-severity type: bug 🐛

Comments

@joshblack
Copy link
Contributor

joshblack commented Dec 17, 2019

We use UNSAFE_ lifecycle methods in several components that cause errors to be displayed in our storybook and to end-users. We should remove our usage of these components in the following components:

  • DatePicker
src/components/DatePicker/DatePicker.js:309:  UNSAFE_componentWillUpdate(nextProps) {
  • StructuredList
src/components/StructuredList/StructuredList.js:142:  UNSAFE_componentWillMount() {
  • ComboBox
src/components/ComboBox/ComboBox.js:202:  UNSAFE_componentWillReceiveProps(nextProps) {
  • DataTable
src/components/DataTable/DataTable.js:143:  UNSAFE_componentWillReceiveProps(nextProps) {
  • withState
src/tools/withState.js:16:  UNSAFE_componentWillMount() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: react carbon-components-react role: dev 🤖 severity: 4 https://ibm.biz/carbon-severity type: bug 🐛
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants