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