We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is the use of React.Children.only() necessary? It enforces more mark-up.
React.Children.only()
<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.
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
For those that stumble upon this you can simple use the new Fragment from React.
Fragment
import React { Fragment } from "react" <DocumentTitle title="..."> <Fragment> <div>...</div> <div>...</div> </Fragment> </DocumentTitle>
Successfully merging a pull request may close this issue.
Is the use of
React.Children.only()
necessary? It enforces more mark-up.Instead of just:
Containers are no longer required in React v16, so it would be nice to avoid having them here, too.
The text was updated successfully, but these errors were encountered: