Skip to content

Update deprecated RN lifecycle methods and fix prop type typo. #216

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
Mar 18, 2022

Conversation

jarod-legault
Copy link
Contributor

@jarod-legault jarod-legault commented Mar 1, 2021

Fixes #206.
Fixes #201.
Fixes #193.
Fixes #167.

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.

Also fixed typo: `oneOf` —> `oneOfType`.
@runticle
Copy link

runticle commented Feb 2, 2022

Can we merge this? The incorrect props are breaking the tests on my repo!

@gitim gitim merged commit b8253e4 into gitim:master Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment