Skip to content

Commit 57b4f27

Browse files
docs: Remove reactism from vue adapter page (#5386)
In vue you rarely use `tsx` or write functional components. I think it's strange that this function randomly exists here in this context.
1 parent c716707 commit 57b4f27

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

docs/framework/vue/vue-table.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ The `@tanstack/vue-table` adapter is a wrapper around the core table logic. Most
1212

1313
Takes an `options` object and returns a table.
1414

15-
```tsx
15+
```ts
1616
import { useVueTable } from '@tanstack/vue-table'
1717

18-
function App() {
19-
const table = useVueTable(options)
18+
const table = useVueTable(options)
19+
// ...render your table
2020

21-
// ...render your table
22-
}
2321
```
2422

2523
### `FlexRender`

0 commit comments

Comments
 (0)