This project demonstrates the use of the useReducer
hook in a React application. The application simulates a simple wallet management system where you can buy ingredients and sell meals, affecting the wallet balance.
To get a local copy up and running, follow these simple steps.
- Node.js
- npm (Node Package Manager)
- Clone the repo
git clone https://github.com/your-username/react-use-reducer-example.git
- Install NPM packages
npm install
- Start the development server
npm start
React
customizing-example
README.md
...
frontend-capstone
README.md
...
my-first-app
README.md
...
prject
README.md
...
reactadvance
reactpofolio_chkaraui
README.md
...
reactpayer
README.md
...
This project demonstrates the use of the useReducer
hook in a React application. The application simulates a simple wallet management system where you can buy ingredients and sell meals, affecting the wallet balance.
npm start
: Starts the development server.npm test
: Runs the test watcher in an interactive mode.npm run build
: Builds the application for production.npm run eject
: Removes this tool and copies build dependencies, configuration files, and scripts into the app directory.
This project consists of several folders and files, each with its own purpose. Here is a comprehensive overview of the project structure and the contents of each folder/file:
React
: This is the root folder of the project, containing all the React-related code.customizing-example
: This folder contains an example of customizing React components.frontend-capstone
: This folder contains the frontend capstone project.my-first-app
: This folder contains the code for the first React app.prject
: This folder contains the code for a React project.reactadvance
: This folder contains advanced React examples.reactpofolio_chkaraui
: This folder contains a React portfolio example using Chakra UI.reactpayer
: This folder contains the code for a React payer application.
Each folder contains its own README.md file, which provides more detailed information about the contents of that folder.