Skip to content

Update deprecated RN lifecycle methods. #1

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

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

jarod-legault
Copy link

Updated componentWillMount to componentDidMount and componentWillReceiveProps to componentDidUpdate.

Also fixed typo in SortableList.js: oneOf —> oneOfType. This was causing a warning for an invalid prop type for the decelerationRate prop.

I created PR #216 on the gitim project which hasn't been merged yet, but I don't see any evidence of creating one on the CNTRAL fork, so here it is. We have been using this commit in our project for a while.

Also fixed typo: oneOf —> oneOfType.

Also fixed typo: `oneOf` —> `oneOfType`.
@jarod-legault jarod-legault mentioned this pull request Jun 10, 2021
Copy link

@joshuapinter joshuapinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joshuapinter joshuapinter merged commit 30b3b60 into master Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants