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
Post a Comment