Recyclerlistview: React Native 0.60 Deprecation Warning

Created on 15 Jul 2019  路  20Comments  路  Source: Flipkart/recyclerlistview

Kindly look into this.

W/ReactNativeJS: Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.

    Please update the following components: RecyclerListView

    Learn more about this warning here:
    https://fb.me/react-async-component-lifecycle-hooks
2019-07-15 11:43:30.722 1119-1220/com.sts W/ReactNativeJS: Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

    Please update the following components: RecyclerListView

    Learn more about this warning here:https://fb.me/react-async-component-lifecycle-hooks

React Native Version 0.60
Recyclerlistview Version 1.3.4/ Version 2.0.0-beta.3

Most helpful comment

We will be releasing this in the last week of Jan along with a bunch of other features :)

All 20 comments

This will be fixed very soon. It's in progress.

This will be fixed very soon. It's in progress.

Any updates on this? Thanks!

Did you try the new v2.0.12?
https://github.com/Flipkart/recyclerlistview/releases/tag/2.0.12

yes, the warning still persists.

The change is merged to master. Have not published it yet. If you want to try you can build master directly.

@naqvitalha are you going to get rid of 'componentWillReceiveProps' as well?

@DaveLomber Yes, that has been removed as well. Try building from master.

The change is merged to master. Have not published it yet. If you want to try you can build master directly.

Unfortunately this doesn't seem to fix the issue.

I've published 2.0.13-alpha.1 from master. There are no warning in this one. Once this is release I'll close the issue.

I've published 2.0.13-alpha.1 from master. There are no warning in this one. Once this is release I'll close the issue.

That works! Many thanks.

@naqvitalha, still have warnings in 2.0.13-alpha.1.

2.0.13-alpha.1 got rid of the warning for me. Hope it officially come out soon

Never mind, had to clear the cache to make it work
npm cache clean -f

Same issue! still have warnings in 2.0.13-alpha.1.

When will 2.0.13 come out?

any updates on when a version will be released?

Is there an estimation when the next release will be out? Eagerly waiting for this.

We will be releasing this in the last week of Jan along with a bunch of other features :)

any updates here? really looking forward not seeing this warning again

Switch to v3.0. This is fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrea7887 picture andrea7887  路  6Comments

jacquesdev picture jacquesdev  路  6Comments

witalobenicio picture witalobenicio  路  8Comments

abrenoch picture abrenoch  路  6Comments

jasonmerino picture jasonmerino  路  6Comments