<Foo children={func} /> or something more clever?
-
-
Agree, that's why I use `render` not children.
-
It also seems like it's leaning on the special behavior of "one child means children is not an array" - I didn't know about that
-
To be fair, that's why React.Children.only exists
-
Yeah, fair enough.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.