Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7
Official Angular bindings for Redux
License
reduxjs/angular-redux
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Official Angular bindings forRedux.Performant and flexible.
Angular Redux requiresAngular 19 or later.
You can install the Store to your project with the followingng add
command(details here):
ng add @reduxjs/angular-redux@latest
flag | description | value type | default value |
---|---|---|---|
--path | Path to the module that you wish to add the import for the StoreModule to. | string | |
--project | Name of the project defined in yourangular.json to help locating the module to add theprovideRedux to. | string | |
--module | Name of file containing the module that you wish to add the import for theprovideRedux to. Can also include the relative path to the file. For example,src/app/app.module.ts . | string | app |
--storePath | The file path to create the state in. | string | store |
This command will automate the following steps:
- Update
package.json
>dependencies
with Redux, Redux Toolkit, and Angular Redux - Run
npm install
to install those dependencies. - Update your
src/app/app.module.ts
>imports
array withprovideRedux({store})
- If the project is using a
standalone bootstrap
, it addsprovideRedux({store})
into the application config.
To use React Redux with your Angular app, install it as a dependency:
# If you use npm:npm install @reduxjs/angular-redux# Or if you use Yarn:yarn add @reduxjs/angular-redux
You'll also need toinstall Redux andset up a Redux store in your app.
The React Redux docs are published athttps://angular-redux.js.org .
About
Official Angular bindings for Redux
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.