Skip to content

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