Many times we use the React Context API to share top-to-bottom states. However, a simple approach can be taken instead. — A common scenario is when we want to control a component state from its children. Don’t know what I am talking about? Keep going, you will get it, I promise. Let’s jump straight into it. What you see below is what we will call a MenuTrigger. …