Skip to content
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

Improve table > tr warning #16535

Merged
merged 1 commit into from
Aug 29, 2019
Merged

Conversation

tomquirk
Copy link
Contributor

This PR improves clarity of warning thrown when a tr element is a direct child of table.

The current warning suggests that the user wrap all child tr's in a <tbody>. In fact, <thead> and <tfoot> are also valid here. The warning has been updated to reflect this.

@sizebot
Copy link

sizebot commented Aug 22, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thanks for the contribution! :)

@trueadm trueadm merged commit 557d472 into facebook:master Aug 29, 2019
@tomquirk tomquirk deleted the improve-table-tr-warning branch August 29, 2019 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants