bit
bit copied to clipboard
Unified Host Context
Description
Currently when running bit on a workspace or a scope, the UI receives the list of components either from the Scope Context or the Workspace Context, depending on the host.
The current implementation forces the consumer to know the host and explicitly query the component data from the relevant context
Describe the solution you'd like
Proposing a single unified host context that is hydrated with the components from the relevant host on app start
{
components: ComponentDescriptor[],
displayName: string
}