I hate functions as React children so much. Just use an attribute. So much cleaner and you're not messing with types.
-
-
I think it's not clear enough that onChange result will be rendered as a children.
-
s/onChange/render
- 2 more replies
New conversation -
-
-
Actually sometimes I use children as a regular prop, because there is a bit less indentation: <Measure children={...} />
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
he/him 
