Experience-Monks / Experience-Monks/react-f1
Check One Child Is Returned
Open
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Once #2 is finished the container `
` should be removed and we should check that there is only one root child that gets returned.
https://facebook.github.io/react/docs/top-level-api.html#react.children.only
Contributor guide
Research direction
Start by reviewing issue #2 and the React.Children.only documentation linked here, then inspect the component's root return path. Done means the container
is removed after #2 and the result enforces that exactly one root child is returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100