Answer the question
In order to leave comments, you need to log in
Wrapper for React components?
how to establish communication between components 1 and 2, so that from one it was possible to call the function of the second?
subtracted that only from the parent is possible,
but how can I create this parent so as not to render it?
it is already on the page, how to attach to it?
<div class="wrapper" id="parent">
<!-- a lot of html ->
< component1 />
<!-- a lot of html ->
< component2 />
<!-- a lot of html ->
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question