Answer the question
In order to leave comments, you need to log in
How to pass data between two child components?
Hello. There are two components, both are children, it is required to get some data from ListOfLectures, and then process and redraw the window with the necessary data in EvaluationLecture. I do not quite understand how to implement it correctly.
<div className="App">
<BrowserRouter>
<Route path ="/" component = {ListOfLectures}></Route>
<Route path = "/lecture" component = {EvaluationLecture}></Route>
</BrowserRouter>
</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