After the child component uses redux, the parent component cannot call the custom method of the child component.

The return parameters obtained in

1 An are used in B, so I used redux,
2 C to call B"s method
3 through this.refs.B.someFunction (), but now the problem is that this.refs.B is now this Connect {props: {. }, context: {. },.}
4 I have tried to send the data of A to C, and then C to B, but it didn"t work.

Thank you very much for asking the great god how to get B"s someFunction, when B uses redux.

Mar.03,2021
Menu