Reactjs – How to Change React Context State without Re-rendering?
I have a context provider wrapped around 2 components. One component (Thing) calls the state setter function and the other (Thing2) displays the value of the state. Why do both components re-render when state changes even though only 1 component…