1 min readJun 15, 2020
You have to pay attention when using Context for state management because when the "Context State" changes, it causes the re-render of all the sub-Component of the ContextProvider.
This is not really performance efficient unless you use some mechanism to block useless re-renders.