useCompositeContext
Returns the composite store from the nearest composite container.
Code examples
function CompositeItem() {
if (!store) {
throw new Error("CompositeItem must be wrapped in CompositeProvider");
}
// Use the store...
}