-
Notifications
You must be signed in to change notification settings - Fork 480
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
Getting waring in React 16.8.6 about ComponentWillRecieveProps #534
Comments
According to react 16.9.0 |
Hi, I also get this issue, here is error message from the console :
Please update the following components: ReactSwipableView |
|
It will still be temporary solution |
Still facing problem |
1 similar comment
Still facing problem |
Receiving the same warning. Any update on a fix? |
Hi. "Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details." on the console. I will wait for your fix. |
I have no interest in investing time in this project anymore. |
@oliviertassinari It will be great if you add a big "Looking For Maintainers" heading in the |
@oliviertassinari, you mean that material UI could replace this project? And what would be the most important functions to implement or problems to fix? Any possible roadmap for the new maintainers? |
To clarify, I meant that I don't have time to dedicate to this project. On Material-UI side, we will work on a carousel, but it's unclear if we will actually use this library. |
Receiving the same warning. Any update on a fix? |
Help please!! |
@oliviertassinari is there a repo I could check out for the Material-UI carousel component? Thanks! |
@dohomi The carousel we will build for Material-UI will likely not use this component. |
@oliviertassinari great news that it will land in Material-UI itself. Will it be part of v4 and the |
@dohomi we will soon start the v5 effort. I think that it will come after. |
Hey Guys, I see that this wonderful stuff is getting outdated, and maintenance is not provided. I moved to https://github.com/express-labs/pure-react-carousel after trying a lot of jQuery ported solutions such as slick, or other solutions like nuka-carousel. I think this, pure-react-carousel is the best alternative out there at the moment. |
@oliviertassinari please add Deprecation label or stale label to the Git repo so we may stop using it. Thank you for this wonderful library |
Workaround implemented in #616, release coming soon. |
Do we have confirmation from the owner that this will continued to be maintained? We are intending to use this for production and this seems like the best and most suitable we have tested yet. |
Hi Guys, it looks like it is still a open issue? Are there any plans to fix it?
|
I'm too getting this Warning in dev console. |
A fix is ready in PR but, if my understanding is right, it won't be merged, the author advises using the MUI lib instead. |
@korbav Why does the author advise using MUI ? Is there a similar component in MUI ? |
To be honest, I'm not sure, I'm not really getting it. |
Because he is "CEO, co-founder at https://github.com/mui" |
@t-kanstantsin Okay, this answers the "Why?". Could you help me out with the "How?". ? Or provide any guidance or hint on it? |
@agnel Sorry I don't have solution or replacement. |
I doubt it, since the author explicitly refers from mui’s docs and issue tracker to |
omg he made a carousel out of it, guys, we are in a loop. please help! |
I am probably gonna receive some thumbs down for this, but I got annoyed by the error just enough to implement the following wrapper for console.error to silence this particular message. const consoleError = console.error;
console.error = function filterErrors(msg, ...args) {
if (/UNSAFE_componentWillReceiveProps/.test(msg) && args[0] === 'ReactSwipableView') {
return;
}
consoleError(msg, ...args);
}; |
@Grsmto took the time to publish a fix in a forked package (thank you!). It works on my side (I didn't want to search for an alternative). I keep using the original name to benefit from typings... Just use:
|
fyi does not work with React 18.. |
The warinig is as follows:
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
npx react-codemod rename-unsafe-lifecycles
in your project source folder.Please update the following components: ReactSwipableView
The text was updated successfully, but these errors were encountered: