This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Executing addProductToCar in development mode may cause incorrect product summation. Ensure you are testing in production mode for accurate results.
Just delete stringMode from main jsx or run on production