Optimization of React Product Page component
I was working on Product Page with its nested children. On the page we can see a specific product data, add item to the cart and set quantity which we want to add. The codebase is nasty as I only finished, but at least seems everything is working properly, so I’m looking for potential improvements including SOLID and other common patterns which I can use for ProductPage and QuantitySelector.