Skip to content

Commit

Permalink
docs(signals): remove redundant standalone flag (#4624)
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic authored Dec 10, 2024
1 parent e2cca61 commit 1b571c3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions modules/signals/rxjs-interop/spec/rx-method.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-without-store',
template: '',
standalone: true,
})
class WithoutStoreComponent {}

Expand All @@ -267,7 +266,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-with-store',
template: '',
standalone: true,
})
class WithStoreComponent {
store = inject(GlobalService);
Expand Down Expand Up @@ -304,7 +302,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-with-store',
template: '',
standalone: true,
})
class WithStoreComponent {
store = inject(GlobalService);
Expand Down Expand Up @@ -335,7 +332,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-with-store',
template: '',
standalone: true,
})
class WithStoreComponent implements OnInit {
store = inject(GlobalService);
Expand Down Expand Up @@ -369,7 +365,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-with-store',
template: '',
standalone: true,
})
class WithStoreComponent implements OnInit {
store = inject(GlobalService);
Expand Down Expand Up @@ -399,7 +394,6 @@ describe('rxMethod', () => {
@Component({
selector: 'app-with-store',
template: '',
standalone: true,
})
class WithStoreComponent implements OnInit {
store = inject(GlobalService);
Expand Down
1 change: 0 additions & 1 deletion modules/signals/spec/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export function createLocalService<Service extends Type<unknown>>(
destroy: () => void;
} {
@Component({
standalone: true,
template: '',
providers: [serviceToken],
})
Expand Down
2 changes: 0 additions & 2 deletions projects/ngrx.io/content/guide/signals/signal-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ import { signalState, patchState } from '@ngrx/signals';

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

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

@Component({
selector: 'ngrx-books',
standalone: true,
template: `
&lth1&gt;Books&lt;/h1&gt;

Expand Down
2 changes: 0 additions & 2 deletions projects/ngrx.io/content/guide/signals/signal-store/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ import { JsonPipe } from '@angular/common';
import { BooksStore } from './books.store';

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

@Component({
standalone: true,
imports: [BooksFilterComponent, BookListComponent],
template: `
&lt;h1&gt;Books ({{ store.booksCount() }})&lt;/h1&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ The `MovieComponent` utilizes the `MoviesStore` to display movies:
}
&lt;/ul&gt;
`,
standalone: true,
imports: [FormsModule],
})
export class MoviesComponent {
Expand Down

0 comments on commit 1b571c3

Please sign in to comment.