`text` could/should be as children
Closed this issue · 4 comments
kud commented
`text` could/should be as children
alexandersmanning commented
Let me think it through and look into it.
kud commented
Thanks! :)
caseyjkey commented
Let me think it through and look into it.
This would help for allowing for html, because my text I'm trying to add contains bullets and breaks.
alexandersmanning commented
I am going to avoid this, as it adds a lot of unnecessary complexity (do I only grab from <text>
tags?, do I concat each tags text, etc.). Furthermore grabbing text from children is considered an anti-pattern by the react team: facebook/react#9255