Closed
Description
Hello,
We have a generic container component that calls sub-component's api methods. Wrapping our sub-components with connect obscures the sub-component's api, and therefore the container can't call its functions.
Using getWrappedInstance() isn't a good option as the container component is unaware of redux, and we want it to stay that way.
A good solution could be that the connect component will proxy to methods in the wrapped components, in case it doesn't implement them itself.
Metadata
Metadata
Assignees
Labels
No labels