Question from the React (legacy) test

Save the state used to display the selected page in a React component.

Easy

Being an interface composed as follows:

<App>
   <Logo/>
   <NavigationMenu/>
   <Hand>
       <Page1/>
       <Page2/>
       <Page3/>
   </Hand>
</App>

Since NavigationMenu allows you to select the page to display, in which component(s) can we save the state used to display the selected page?

Author: Victor SabatierStatus: PublishedQuestion passed 1392 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!