MCPcopy Create free account
hub / github.com/TanStack/devtools / App

Class App

examples/angular/panel/src/app/app.ts:33–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 />
32 }
33 `,
34 changeDetection: ChangeDetectionStrategy.OnPush,
35})
36export 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}

Callers

nothing calls this directly

Calls 1

createCounterFunction · 0.90

Tested by

no test coverage detected