-
Notifications
You must be signed in to change notification settings - Fork 26.3k
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
Add missing lifecyle methods to react/sort-comp #2043
Conversation
'componentDidUpdate', | ||
'componentDidCatch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it's present twice: here and two lines below. Is it intended, or just a side effect of two parallel PRs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, it's a side effect. i'll clean it up prior to release (or, a PR is helpful)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure #2108
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
See airbnb/javascript#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb/javascript#2043 (comment))
See airbnb/javascript#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb/javascript#2043 (comment))
See airbnb/javascript#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb/javascript#2043 (comment))
See airbnb/javascript#2043 (comment) I left the one before `cWU`, as in [defaults](airbnb/javascript#2043 (comment))
On react/sort-comp rule description it shows the default configuration for lifecycle methods and some of them were missing here. This PR just adds them.
Fixes #2040