// option 1: extra div
return <div>{children}</div>
// option 2: unhelpful errors
return children
I try to return this.props.children directly,and there is no error. I test the version 15.4 and 16, Here is the demo.
So Is there something I misunderstood?