reactjs ensure parent child relationship -


suppose i've created 2 elements -- parent , child

is there way ensure child element contained parent? want ensure dom looks --

<parent>   <child /> </parent> 

and never

<someotherelement>     <child /> </someotherelement> 


Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -