Answer the question
In order to leave comments, you need to log in
How to organize the interaction of components in React?
I looked at a couple of guides, a couple of screencasts and some mess in my head ...
For example, there is a survey form with inputs in the App application . Standard radio button
The radio button component receives an array with a list when called, puts it in its state and renders. When one of the items is selected , the state changes where the current item is marked.
Actually questions:
Answer the question
In order to leave comments, you need to log in
I marked it with a ref when calling the component and kicked it with setState()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question