l have developed a simple React project. For this project l used context API and React Portal. This is a food order project. You can add food you want and you can see total amount and total pieces of food. At the same time you can empty the basket by clicking a time.
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