New to react here and trying to wrap my head round the new Context API (I haven\'t looked into Redux etc. yet).
Seems I can do much of what I need to do, but I\'m going
One simple solution for this is to use something similar to compose function in https://github.com/reduxjs/redux/blob/master/src/compose.js and combine all the providers together.
provider.js
const Providers = compose(
AuthProvider,
ThemeProvider,
ChatProvider
);
also I haven't used this solution but with React's new hooks feature, instead of rendering your contexts, you can use the react hook to access it in the function definition.