We have two separate SPFx web parts (call them A and B), and you can add A and/or B to same SharePoint Online site.
Now there is a need to create web part C that combines both A and B into single web part (in new C web part the A will be top and the B below it).
Some SharePoint content in here <A> <B> More SharePoint content
A and B will be developed separately and they should still work independently, and the combination C should always match latest development state of A and B.
Both A and B are based on BaseClientSideWebPart,
export default class AWebPart extends BaseClientSideWebPart<IAWebPartProps> and export default class BWebPart extends BaseClientSideWebPart<IBWebPartProps>
So what is the easiest way to do this? Can I create a new web part that imports both AWebPart and BWebPart and combines them to single React render command?