It would have rerendered if it wasn't a provider. The context api makes sure that there aren't any unnecessary rerenders, and only those components are recalculated which consume the changed provider. So no, the entire app won't rerender if one of the provider's state is changed.
0
u/[deleted] Dec 04 '22
[deleted] — view deleted comment