Context Providers are just functions therefore they can be composted, and used to create AppContext provider lets just do that then. With this, we can just pass an array of context providers and they will be combined from left to right. This is the principle that you can apply to develop large scale applications.
2 Comments
Sort: