I have a settings page which allow the user to enable/disable various settings. Currently I am using a single settings context provider to pass on all the settings.
Would it actually be better to isolate all the settings in separate contexts, so that only the components which use a particular setting would rerender when that setting changes. In my current implementation it seems like even if a unrelated setting changes, the consumers would be rerendered.
Is it true even if they are not consuming the changed value?