gaearon / gaearon/react-document-title

Use of React.Children.only()

Open
#48 2 comments 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.