
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@angular-architects/signals-experimental
Advanced tools
[](https://www.npmjs.com/package/%40angular-architects%2Fsignals-experimental)
This is library allows to configure an experimental Angular Change Detection strategy based on Signals.
⚠️ It uses a slightly modified version of the
@angular/core
package and is therefore not meant to be used in apps rolled-out for production usage.
ReactiveLViewConsumer
) is notified by it's Signal Producers and the Value-Version changed.Currently, Angular Version 16.1.7
is supported.
Install package:
npm install @angular-architects/signals-experimental@ng.16.1.7
Install patched @angular/core
package:
npm install @angular/core@file:./node_modules/@angular-architects/signals-experimental/.bin/angular-core-patch-16.1.7.tgz
Add a provider to the bootstrap config (main.ts
or app.config.ts
):
+import {
+ CustomChangeDetectionMode,
+ provideChangeDetectionStrategy
+} from '@angular-architects/signals-experimental';
export const appConfig = {
providers: [
+ provideChangeDetectionStrategy(
+ CustomChangeDetectionMode.Signals
+ )
// All other providers
]
};
Each Component where the Change Detection shall be triggered through Signals needs to use a Host Directive:
+import {
+ SignalComponentFeature
+} from '@angular-architects/signals-experimental';
import {
NgFor, NgIf
} from '@angular/common';
import {
Component, computed, effect, signal
} from '@angular/core';
@Component({
selector: 'app-search',
standalone: true,
imports: [
NgIf, NgFor
],
+ hostDirectives: [
+ SignalComponentFeature
+ ],
templateUrl: './search.component.html'
})
export class SearchComponent {
name = signal('Jane');
}
That's all - try out this experimental mode and tell us how it works for you. Altough the upcoming Angular implementation of Signal Components (could be published with Angular v18) likely will vary, any experiment with your codebase may be helpful to provide useful feedback to the Angular team to improve the final API.
FAQs
[](https://www.npmjs.com/package/%40angular-architects%2Fsignals-experimental)
We found that @angular-architects/signals-experimental demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.