MCQs>IT & Programming>React.js>Which of the following React methods is used for verifying that the children has a single child (a React element) only and returning it?
React.js MCQs
Which of the following React methods is used for verifying that the children has a single child (a React element) only and returning it?
Answer
Correct Answer: React.Children.only(children)
Explanation:
Note: This Question is unanswered, help us to find answer for this one