integrate Redux Toolkit, wrap App with Provider, fix Husky hook, and repair pnpm lockfile#1629
integrate Redux Toolkit, wrap App with Provider, fix Husky hook, and repair pnpm lockfile#1629omid2007hope wants to merge 3 commits intoreactplay:mainfrom
Conversation
|
| Name | Link |
|---|---|
| 🔨 Latest commit | 0b8e65f |
There was a problem hiding this comment.
Hey! contributor, thank you for opening a Pull Request 🎉.
@reactplay/maintainers will review your submission soon and give you helpful feedback.
If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. This PR will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions! |
Overview
This pull request integrates Redux Toolkit into the application, adds a global store,
implements a basket slice with add/remove logic, and wraps the app with the Redux Provider.
It also fixes a broken Husky pre-commit hook and removes a duplicated-key issue in the pnpm-lock.yaml.
Changes Included
configureStore) and connected root reducer.basketslice with:App.jsxwith<Provider store={store}>..husky/pre-committo usenpm run pre-commitinstead of yarn.pnpm-lock.yamlthat caused install failures.Type of Change
How Has This Been Tested?
Additional Notes
These changes merge cleanly and do not modify existing components outside Redux integration.
This prepares the project for scalable state management.