pub fn compose<A, B>(a: A, b: B) -> ComposedComponent<A, B>where A: Component, B: Component,
Compose two components with shared state.