Experience-Monks / Experience-Monks/react-f1

Check One Child Is Returned

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.