Closed jeff-eng closed 1 month ago
Seems the best solution at the given time is to create a function in the Main component and pass it down to the Question component which then gets passed down to the grandchild component, AnswerChoice. This is called "lifting up state".
Seems the best solution at the given time is to create a function in the Main component and pass it down to the Question component which then gets passed down to the grandchild component, AnswerChoice. This is called "lifting up state".