Auto-closing the hamburger menu in React-Bootstrap Clark Wilkins 2022.03.15

I just finished considerable research to find a working way to have the mobile version of the React Bootstrap NavBar collapse back down after you make a menu selection, and found the answer here. To summarize, we are using a NavBar collape condition stored in state and toggling it true to make the expanded menu go away.

All edits are done in App.js. Here are some "takeaway" points

It's a simple and elegant solution, but hard to find in the noisy Stack Overflow environment, so I reposted it here.