
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@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)
The npm package @angular-architects/signals-experimental receives a total of 5 weekly downloads. As such, @angular-architects/signals-experimental popularity was classified as not popular.
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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.