0

i want to know how we can use Redux Connect and Customized HOC in same export. for example we have component "TestComponent" and HOC "WithSampleHOC" and "Connect".

export default .....?

Gugu72
  • 2,052
  • 13
  • 35

1 Answers1

1

Try:

export default connect(mapStateToProps, mapDispatchToProps)(WithSampleHOC(Component));
Izabela Furdzik
  • 511
  • 6
  • 8