Currently in the process of combining multiple Material UI components for rendering. The code I have so far is:
export default connect(mapStateToProps, mapDispatchToProps)(withTheme()(withStyles(styles)(ShopStore)));
This setup is functioning as expected. However, I am now looking to integrate a new HOC, specifically Material UI's withWidth HOC. I have attempted to inject this HOC in various places, but each time it causes the entire component to not display on the page. I have researched and found suggestions to use a third-party library named compose. Nevertheless, I would prefer to avoid that solution. If there are any alternative methods to achieve this, I would appreciate the insight. Thank you.