React · Middle · Question 70 of 75
What does Children.map or cloneElement usage usually signal in modern React?
- ✓Correct answer: Fragile coupling to children's structure; prefer explicit props, render props or context
- 2Best practice for all reusable components
- 3A required pattern for lists
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.