sanjeevyadavIT / magento_react_native

🛒 MageCart: E-commerce app for Magento 2.x written in React Native
GNU General Public License v3.0
282 stars 124 forks source link

Extract ProductDetailPage into functional component #16

Closed sanjeevyadavIT closed 5 years ago

sanjeevyadavIT commented 5 years ago

Is your feature request related to a problem? Please describe. Currently every other page used functional component and to access state it uses react-redux hook, extract ProductDetailPage into functional component.

Describe the solution you'd like

  1. Convert class component into functional component
  2. Extract state full component into container
  3. Create component for sort and filter options
  4. use react-redux hook to access state

Additional context Make ProductDetailPage modular, so that it can support wide variety of products like, simple, configurable, downloadable etc.