
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@studiohyperdrive/ng-redux-router
Advanced tools
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
@angular/routernpm install @studiohyperdrive/ng-redux-router --save
or
yarn add @studiohyperdrive/ng-redux-router
Import module in app.module.ts:
import { ReduxRouterModule } from '@studiohyperdrive/ng-redux-router';
@NgModule({
imports: [
ReduxRouterModule
]
})
export class AppModule {}
Initialize ReduxRouter with a dispatch function (e.g. using the @angular-redux/store package:
constructor(
private ngRedux: NgRedux<MyAppState>,
private reduxRouter: ReduxRouter
) {
reduxRouter.initialize(ngRedux.dispatch);
}
You can find examples for a vanilla implementation, angular-redux and ngrx in the examples folder. All examples can be run using the angular-cli.
The ReduxRouter will listen for route changes and store the current, previous and active (pending) route for the entire route tree in the state (i.e. from the root, not just the parts applicable for the component context).
The following properties are stored for each route:
The ROUTE_UPDATE action will only be dispatched once the NavigationEnd event is triggered.
4.0.1. There are some type issues in newer versions.replaceUrl when navigating, the route is not updated correctly.FAQs
Sync Angular Router state with the Redux app state, gaining easy access to the entire route, not just the activated route.
We found that @studiohyperdrive/ng-redux-router demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.