-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc: replace appendChild with append #13995
Conversation
Except instances where the return value is needed/used.
Is it worth it to add a lint rule. I'm definitely going to forget this and use |
nice PR :) |
😱 you wouldn't DARE edit: but no i dont think its worth it to do a lint rule. any appendChild will def get caught in review going forward. me and connor certainly have a vendetta against it. :) |
I feel like no. It doesn't really matter a lot of the time. The biggest win is |
Adjusted for review comments and we should be appendChild-free by now. :) |
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.
LGTM, left a couple nits
Fixes #13991
Replaces all .appendChild() occurrences with .append().