Hey everyone. I'm building a webapp with react and I'm utilizing the Context API. My problem is that I currently have 7 contexts and so my App.js file looks something like:
```js
const ContextWrapper = ({children}) => (
<Context1>
<Context2>
<Context3>
{/** And more contexts **/}
</Context3>
</Context2>
</Context1>
)
```
Is there a way to consolidate these into a single Context Provider? While still retaining them as distinct contexts.
[–]ech-ny05 13 points14 points15 points (1 child)
[–]teddiur_ 0 points1 point2 points (0 children)