This is a simple React application implementing a counter using Redux for state management.
The Redux Counter project demonstrates the integration of Redux, a predictable state container, with React for managing application state. The counter allows users to increment and decrement a numerical value, showcasing how Redux manages state changes in a React application.
A list of features used within the project:
- Increment and Decrement : Click buttons to increase or decrease the counter value.
- Redux State Management : Demonstrates how Redux handles state changes in a centralized store.
- React Integration : Integrates Redux state management into a React application.
To run the project locally, follow these steps:
$ git clone https://github.com/Remonhasan/react-redux-counter.git
$ cd ../path/to/the/file
$ npm install
$ npm start
Open http://localhost:3000 to view it in your browser.
The project structure is organized as follows:
- src/actions: Contains action types and action creators for the counter.
- src/reducers : Holds the counter reducer and the root reducer combining all reducers.
- src/store : Defines the Redux store.
- src/components : Includes the main
Counter
component. - src/App.js : Entry point of the application.
Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or create a pull request.
Build with Love for JavaScript !