How kushal639/react-ecommerce-app works
MyShop is a small client-side shop: a shopper browses a fixed product catalog, adds products to a cart, adjusts or removes quantities, and sees the updated total. React mounts the single App component, which owns both the interface and cart calculations; there is no backend or persistent store shown. Product images load from external URLs. The source excerpts show the app entry and core behavior; this map omits Create React App tooling and tests.
Main entry points: App.js Shop UI · index.js React Entry · reportWebVitals.js Web Vitals
Components 7
Other components
- Shopper
- React Entry
src/index.js - Shop UI
src/App.js - Cart State
src/App.js - Cart Total
src/App.js - Image Hosts
- Web Vitals
src/reportWebVitals.js
Connections 6
- React Entry → Shop UI: mounts
src/index.js - Shopper → Shop UI: uses
src/App.js - Shop UI → Cart State: updates
src/App.js - Cart State → Cart Total: supplies quantities
src/App.js - Shop UI → Image Hosts: loads images
src/App.js - React Entry → Web Vitals: invokes
src/index.js