Closed igorsantos07 closed 8 years ago
Codepen
render() { let computedValue = 10 return <Chip>Cool chip {computedValue}</Chip> }
renders something like (Cool chip Cool chip 10)
(Cool chip Cool chip 10)
There's also a warning on the console about flattenChildren() finding two children with the same key .0. I could workaround this by using <Chip><span>Cool chip {computedValue}</span></Chip> but that sounds hackish / verbose :)
flattenChildren()
.0
<Chip><span>Cool chip {computedValue}</span></Chip>
Thanks for reporting this @igorsantos07
Codepen
renders something like
(Cool chip Cool chip 10)
There's also a warning on the console about
flattenChildren()
finding two children with the same key.0
. I could workaround this by using<Chip><span>Cool chip {computedValue}</span></Chip>
but that sounds hackish / verbose :)