Rect Context with Selectors
When context updates, every component that subscribes to it updates. It is by design. Soon after you learn this you start to look for solutions to prevent unnecessary re-renders. — Even though a component might need to react only when a specific part of the context changes, there is no escape hatch to it. The useContext() hook runs and returns the context value on every value change. And so the component that subscribes to it needs to re-render.