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

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -