Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@reduxjs/angular-redux
Advanced tools
Official Angular bindings for [Redux](https://github.com/reduxjs/redux). Performant and flexible.
Official Angular bindings for Redux. Performant and flexible.
[!WARNING]
This package is in alpha and is rapidly developing.
Angular Redux requires Angular 17.3 or later.
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 to install Redux and set up a Redux store in your app.
This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.
The following Angular component works as-expected:
import { Component } from '@angular/core'
import {injectSelector, injectDispatch} from "@reduxjs/angular-redux";
import { decrement, increment, RootState } from './store/counter-slice'
@Component({
selector: 'app-root',
standalone: true,
imports: [],
template: `
<div>
<div>
<button
aria-label="Increment value"
(click)="dispatch(increment())"
>
Increment
</button>
<span>{{ count() }}</span>
<button
aria-label="Decrement value"
(click)="dispatch(decrement())"
>
Decrement
</button>
</div>
</div>
`
})
export class AppComponent {
count = injectSelector((state: RootState) => state.counter.value)
dispatch = injectDispatch()
increment = increment
decrement = decrement
}
FAQs
Official Angular bindings for [Redux](https://github.com/reduxjs/redux). Performant and flexible.
The npm package @reduxjs/angular-redux receives a total of 38 weekly downloads. As such, @reduxjs/angular-redux popularity was classified as not popular.
We found that @reduxjs/angular-redux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.