-
Notifications
You must be signed in to change notification settings - Fork 58
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
YellowBox Warning: componentWillReceiveProps is deprecated #1242
Comments
I tried to upgrade This one comes from a |
In the meantime, one can hide this warning by adding it to the ignore list in diff --git a/src/index.js b/src/index.js
index b0554c0f..684d0bc3 100644
--- a/src/index.js
+++ b/src/index.js
@@ -77,7 +77,7 @@ export class RootComponent extends React.Component {
export function registerApp() {
// Disable require circle warnings showing up in the app (they will still be visible in the console)
- YellowBox.ignoreWarnings( [ 'Require cycle:' ] );
+ YellowBox.ignoreWarnings( [ 'Require cycle:', 'componentWillReceiveProps'] ); |
Not seeing the YellowBox anymore, at least on 7495fbf. Closing but let's reopen if it comes back. |
I just commented out this line:
and loaded the editor to this 😱 I'm thinking maybe we should keep this one open 🙂 (there are some If we ignore the "Require cycle" warnings specifically, it looks like the number of remaining YellowBox warnings would be much more manageable, although I think there will still be enough that it will be very annoying to deal with. |
Yes, let's re-open. Also, wondering if the 0.62.x upgrade has the same issues reported. |
Closing since there are no |
There is currently a warning showing on the gutenberg mobile demo app:
It's due to at least one of our dependencies:
I couldn't find any occurrences of
componentWillReceiveProps
in our code, so I think updating the dependencies would be enough to fix this.The text was updated successfully, but these errors were encountered: