DEV Community

Discussion on: How to stop child elements from inheriting parent element's onClick in React

 
realadamsmith profile image
Adam

I needed to pass a prop from a child element that wasnt (e), so I just remade the whole thing so the child wouldnt be dependednt on the parent element in the meantime

I gotta study this wrapper hmm