Skip to content

Commit 4bdf345

Browse files
feat(component): remove ReactiveComponentModule (#3643)
Closes #3623 BREAKING CHANGE: `ReactiveComponentModule` is removed in favor of `LetModule` and `PushModule`. BEFORE: ```ts import { ReactiveComponentModule } from '@ngrx/component'; @NgModule({ imports: [ // ... other imports ReactiveComponentModule, ], }) export class MyFeatureModule {} ``` AFTER: ```ts import { LetModule, PushModule } from '@ngrx/component'; @NgModule({ imports: [ // ... other imports LetModule, PushModule, ], }) export class MyFeatureModule {} ```
1 parent 351459f commit 4bdf345

File tree

5 files changed

+0
-76
lines changed

5 files changed

+0
-76
lines changed

modules/component/spec/reactive-component.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
@@ -3,4 +3,3 @@ export { LetDirective } from './let/let.directive';
33
export { LetModule } from './let/let.module';
44
export { PushPipe } from './push/push.pipe';
55
export { PushModule } from './push/push.module';
6-
export { ReactiveComponentModule } from './reactive-component.module';

modules/component/src/reactive-component.module.ts

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

projects/ngrx.io/content/guide/component/let.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,6 @@ import { LetModule } from '@ngrx/component';
2323
export class MyStandaloneComponent {}
2424
```
2525

26-
The `*ngrxLet` directive can be also used by importing the `ReactiveComponentModule`:
27-
28-
```ts
29-
import { NgModule } from '@angular/core';
30-
import { ReactiveComponentModule } from '@ngrx/component';
31-
32-
@NgModule({
33-
imports: [
34-
// ... other imports
35-
ReactiveComponentModule,
36-
],
37-
})
38-
export class MyFeatureModule {}
39-
```
40-
41-
<div class="alert is-critical">
42-
43-
`ReactiveComponentModule` is deprecated in favor of `LetModule`.
44-
See the [migration guide](guide/migration/v14#reactivecomponentmodule) for more information.
45-
46-
</div>
47-
4826
## Comparison with `*ngIf` and `async`
4927

5028
The current way of binding an observable to the view looks like this:

projects/ngrx.io/content/guide/component/push.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,6 @@ import { PushModule } from '@ngrx/component';
2424
export class MyStandaloneComponent {}
2525
```
2626

27-
The `ngrxPush` pipe can be also used by importing the `ReactiveComponentModule`:
28-
29-
```ts
30-
import { NgModule } from '@angular/core';
31-
import { ReactiveComponentModule } from '@ngrx/component';
32-
33-
@NgModule({
34-
imports: [
35-
// ... other imports
36-
ReactiveComponentModule,
37-
],
38-
})
39-
export class MyFeatureModule {}
40-
```
41-
42-
<div class="alert is-critical">
43-
44-
`ReactiveComponentModule` is deprecated in favor of `PushModule`.
45-
See the [migration guide](guide/migration/v14#reactivecomponentmodule) for more information.
46-
47-
</div>
48-
4927
## Comparison with `async` Pipe
5028

5129
The current way of binding an observable to the view looks like this:

0 commit comments

Comments
 (0)