Skip to content

Commit 5610ba2

Browse files
authoredMar 4, 2024
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 02ae262 commit 5610ba2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
 

‎docs/framework/vue/vue-table.md

+3-5
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)
Please sign in to comment.