do this to prevent userinput from rerendering everytime. for example, when switching between mini and full sized itineraries, the showDetailedItinerary state in userinput is toggled. The toggling should go in a child component of userinput so all of userinput doesn't have to rerender again.
do this to prevent userinput from rerendering everytime. for example, when switching between mini and full sized itineraries, the showDetailedItinerary state in userinput is toggled. The toggling should go in a child component of userinput so all of userinput doesn't have to rerender again.