Answer the question
In order to leave comments, you need to log in
How to display data taken from one child component in another adjacent child component?
Colleagues, help the teapot, from the neighboring component A, through the context, I take the number from the input, and add it to the parent's state. this number must be passed to another neighboring component B and drawn. Props passes. Rendering does not occur.(((Initially, component B receives data from the parent, and then the data in the parent changes as a result of the above actions, but component B does not draw.
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