My solo project - Restaurant Ordering app (from The Frontend Developer Career Path of Scrimba)
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
My solo project - Restaurant Ordering app.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Install packages
yarn
Launch at localhost in development mode
yarn dev
- Add/ remove cart items
- Use amount for duplicated items in order summary
- Complete order popup modal
- Click outside close modal using useRef
- Finish Order notification message
- Form verification
- Bug fixes
- Fixed the position of order summary title and complete order button
- Pop up modal is not correct centered
- Deploy dist/output.css not found
See the open issues for a full list of proposed features (and known issues).
Forward ref in the child component use forwardRef
useEffect
to track the mousedown
event of the document, and has the dependency of modal opening state
clean up in mousedown
event in useEffect
Distributed under the MIT License. See LICENSE.txt
for more information.
Jen Chen
Project Link: https://github.com/yujhenchen/restaurant-ordering-react