-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Is the use of React.Children.only() necessary? It enforces more mark-up.
<DocumentTitle title="...">
<div>
<div>...</div>
<div>...</div>
</div>
</DocumentTitle>
Instead of just:
<DocumentTitle title="...">
<div>...</div>
<div>...</div>
</DocumentTitle>
Containers are no longer required in React v16, so it would be nice to avoid having them here, too.
andymac4182, seansfkelley, headfire94, pimlottc-gov, silverwind and 1 more
Metadata
Metadata
Assignees
Labels
No labels