How to use Redux Connect and customized HOC in same export

29 Views Asked by At

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 .....?

1

There are 1 best solutions below

0
Izabela Furdzik On

Try:

export default connect(mapStateToProps, mapDispatchToProps)(WithSampleHOC(Component));