diff --git a/examples/angular/basic-external-atoms/src/app/app.ts b/examples/angular/basic-external-atoms/src/app/app.ts index 56a3eac4b1..8ce89bacb6 100644 --- a/examples/angular/basic-external-atoms/src/app/app.ts +++ b/examples/angular/basic-external-atoms/src/app/app.ts @@ -51,10 +51,6 @@ export class App { injectTanStackTableDevtools(() => ({ table: this.table, })) - - effect(() => { - console.log('atom', this.paginationAtom.get()) - }) } readonly data = signal(makeData(1_000)) diff --git a/examples/angular/column-resizing-performant/src/app/app.html b/examples/angular/column-resizing-performant/src/app/app.html index fa66af84b2..319e5994fc 100644 --- a/examples/angular/column-resizing-performant/src/app/app.html +++ b/examples/angular/column-resizing-performant/src/app/app.html @@ -3,7 +3,7 @@
- {{ columnSizingDebugInfo() }}
+ {{ stringifiedState() }}
diff --git a/examples/angular/column-resizing-performant/src/app/app.ts b/examples/angular/column-resizing-performant/src/app/app.ts
index 442f0d7194..cca7837651 100644
--- a/examples/angular/column-resizing-performant/src/app/app.ts
+++ b/examples/angular/column-resizing-performant/src/app/app.ts
@@ -111,14 +111,8 @@ export class App {
return colSizes
})
- readonly columnSizingDebugInfo = computed(() =>
- JSON.stringify(
- {
- columnSizing: this.table.atoms.columnSizing.get(),
- },
- null,
- 2,
- ),
+ readonly stringifiedState = computed(() =>
+ JSON.stringify(this.table.state, null, 2),
)
refreshData = () => this.data.set(makeData(200))
diff --git a/examples/lit/basic-external-atoms/src/main.ts b/examples/lit/basic-external-atoms/src/main.ts
index 8890416c38..87809292a7 100644
--- a/examples/lit/basic-external-atoms/src/main.ts
+++ b/examples/lit/basic-external-atoms/src/main.ts
@@ -231,7 +231,7 @@ class LitTableExample extends LitElement {
- ${JSON.stringify({ sorting, pagination }, null, 2)}
+ ${JSON.stringify(table.state, null, 2)}