Is there a way to wrap a component with multiple parents passed from an array?
Is this something a HOC would be able to handle?
const WrapperComponent = props => {
const wrappers = [ComponentA, ComponentB, ComponentC];
// Should return something like:
// return (
// <ComponentA><ComponentB><ComponentC>
// {props.children}
// </ComponentC></ComponentB></ComponentA>
// );
}