Skip to content

Commit 7316d1a

Browse files
timdeschryverbrandonroberts
authored andcommitted
feat(component): remove PushModule
BREAKING CHANGE: The `PushModule` is deprecated in favor of the standalone `PushPipe`. BEFORE: ```ts import { PushModule } from '@ngrx/component'; @NgModule({ imports: [ // ... other imports PushModule, ], }) export class MyFeatureModule {} ``` AFTER: ```ts import { Component } from '@angular/core'; import { PushPipe } from '@ngrx/component'; @component({ // ... other metadata standalone: true, imports: [ // ... other imports PushPipe, ], }) export class MyStandaloneComponent {} ```
1 parent 82e8381 commit 7316d1a

File tree

4 files changed

+0
-32
lines changed

4 files changed

+0
-32
lines changed

modules/component/spec/push/push.module.spec.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

modules/component/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export { RenderScheduler } from './core/render-scheduler';
22
export { LetDirective } from './let/let.directive';
33
export { LetModule } from './let/let.module';
44
export { PushPipe } from './push/push.pipe';
5-
export { PushModule } from './push/push.module';

modules/component/src/push/push.module.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/component/src/push/push.pipe.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { createRenderEventManager } from '../core/render-event/manager';
77
type PushPipeResult<PO> = PotentialObservableResult<PO, undefined>;
88

99
/**
10-
* @ngModule PushModule
11-
*
1210
* @description
1311
*
1412
* The `ngrxPush` pipe serves as a drop-in replacement for the `async` pipe.

0 commit comments

Comments
 (0)