React · Middle · Question 70 of 75

What does Children.map or cloneElement usage usually signal in modern React?

Explanation

Both are marked as legacy APIs. They break when children are wrapped in fragments or other components and make data flow hard to follow.

Further reading

Problem with a question

React · Middle · question 70

Test yourself

Take the React · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz