Skip to content

Commit fb2d72f

Browse files
authored
fix: major performance bug in Vue-adapter (#5698)
* fix: major performance bug * fix: export options-type with reactive data
1 parent 836cbb7 commit fb2d72f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/vue-table/src/index.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { mergeProxy } from './merge-proxy'
1313

1414
export * from '@tanstack/table-core'
1515

16-
type TableOptionsWithReactiveData<TData extends RowData> = Omit<
16+
export type TableOptionsWithReactiveData<TData extends RowData> = Omit<
1717
TableOptions<TData>,
1818
'data'
1919
> & {
@@ -52,12 +52,6 @@ export function useVueTable<TData extends RowData>(
5252
state: {}, // Dummy state
5353
onStateChange: () => {}, // noop
5454
renderFallbackValue: null,
55-
mergeOptions(
56-
defaultOptions: TableOptions<TData>,
57-
options: TableOptions<TData>
58-
) {
59-
return mergeProxy(defaultOptions, options)
60-
},
6155
},
6256
getOptionsWithReactiveData(initialOptions)
6357
)

0 commit comments

Comments
 (0)