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 .....?
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 .....?
Try:
export default connect(mapStateToProps, mapDispatchToProps)(WithSampleHOC(Component));