aliguan / optimizer-v2

0 stars 1 forks source link

Put all itinerary components in a big component #44

Open tventures02 opened 5 years ago

tventures02 commented 5 years ago

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.