| 31 | changeDetection: ChangeDetectionStrategy.OnPush, |
| 32 | }) |
| 33 | export class App { |
| 34 | readonly plugins = signal<TanStackDevtoolsAngularPlugin[]>([ |
| 35 | { |
| 36 | name: 'Custom devtools (Panel)', |
| 37 | render: CustomDevtoolPanel, |
| 38 | }, |
| 39 | customDevtoolPlugin(), |
| 40 | // No-op plugin -> will not be rendered |
| 41 | noOpCustomDevtoolPlugin(), |
| 42 | ]) |
| 43 | |
| 44 | readonly counter = createCounter() |
| 45 | |
| 46 | readonly increment = () => this.counter.increment() |
| 47 | readonly decrement = () => this.counter.decrement() |
| 48 | } |
nothing calls this directly
no test coverage detected