Skip to content

Commit 1b571c3

Browse files
docs(signals): remove redundant standalone flag (#4624)
1 parent e2cca61 commit 1b571c3

File tree

5 files changed

+0
-12
lines changed

5 files changed

+0
-12
lines changed

modules/signals/rxjs-interop/spec/rx-method.spec.ts

-6
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ describe('rxMethod', () => {
242242
@Component({
243243
selector: 'app-without-store',
244244
template: '',
245-
standalone: true,
246245
})
247246
class WithoutStoreComponent {}
248247

@@ -267,7 +266,6 @@ describe('rxMethod', () => {
267266
@Component({
268267
selector: 'app-with-store',
269268
template: '',
270-
standalone: true,
271269
})
272270
class WithStoreComponent {
273271
store = inject(GlobalService);
@@ -304,7 +302,6 @@ describe('rxMethod', () => {
304302
@Component({
305303
selector: 'app-with-store',
306304
template: '',
307-
standalone: true,
308305
})
309306
class WithStoreComponent {
310307
store = inject(GlobalService);
@@ -335,7 +332,6 @@ describe('rxMethod', () => {
335332
@Component({
336333
selector: 'app-with-store',
337334
template: '',
338-
standalone: true,
339335
})
340336
class WithStoreComponent implements OnInit {
341337
store = inject(GlobalService);
@@ -369,7 +365,6 @@ describe('rxMethod', () => {
369365
@Component({
370366
selector: 'app-with-store',
371367
template: '',
372-
standalone: true,
373368
})
374369
class WithStoreComponent implements OnInit {
375370
store = inject(GlobalService);
@@ -399,7 +394,6 @@ describe('rxMethod', () => {
399394
@Component({
400395
selector: 'app-with-store',
401396
template: '',
402-
standalone: true,
403397
})
404398
class WithStoreComponent implements OnInit {
405399
store = inject(GlobalService);

modules/signals/spec/helpers.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export function createLocalService<Service extends Type<unknown>>(
99
destroy: () => void;
1010
} {
1111
@Component({
12-
standalone: true,
1312
template: '',
1413
providers: [serviceToken],
1514
})

projects/ngrx.io/content/guide/signals/signal-state.md

-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ import { signalState, patchState } from '@ngrx/signals';
129129

130130
@Component({
131131
selector: 'ngrx-counter',
132-
standalone: true,
133132
template: `
134133
&lt;p&gt;Count: {{ state.count() }}&lt;/p&gt;
135134

@@ -211,7 +210,6 @@ import { BooksStore } from './books.store';
211210

212211
@Component({
213212
selector: 'ngrx-books',
214-
standalone: true,
215213
template: `
216214
&lth1&gt;Books&lt;/h1&gt;
217215

projects/ngrx.io/content/guide/signals/signal-store/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ import { JsonPipe } from '@angular/common';
119119
import { BooksStore } from './books.store';
120120

121121
@Component({
122-
standalone: true,
123122
imports: [JsonPipe],
124123
template: `
125124
&lt;p&gt;Books: {{ store.books() | json }}&lt;/p&gt;
@@ -445,7 +444,6 @@ import { BookListComponent } from './book-list.component';
445444
import { BooksStore } from './books.store';
446445

447446
@Component({
448-
standalone: true,
449447
imports: [BooksFilterComponent, BookListComponent],
450448
template: `
451449
&lt;h1&gt;Books ({{ store.booksCount() }})&lt;/h1&gt;

projects/ngrx.io/content/guide/signals/signal-store/testing.md

-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ The `MovieComponent` utilizes the `MoviesStore` to display movies:
448448
}
449449
&lt;/ul&gt;
450450
`,
451-
standalone: true,
452451
imports: [FormsModule],
453452
})
454453
export class MoviesComponent {

0 commit comments

Comments
 (0)