shadcn-vue
shadcn-vue copied to clipboard
Update version of TanStack table library
Hello everyone!
I have been spending a lot of time trying to figure out why the data that I pass as props to the DataTable component is not being reactive?
Using Vue Dev Tools, I deleted data from the store, but the table was not updating or rerendering.
The problem is older version of the TanStack table in your components shadcn-vue/apps/www/package.json
:
"tanstack-table": "^8.19.3"
There are also the same issues:
- Reactive props for useVueTable
- [Vue] Pushing to data ref does not add table row
- docs: make <DataTable /> reactive
Support for reactivity in the Vue adapter was added on August 8, 2024 with the release of version:
"@tanstack/vue-table": "^8.20.0"
Latest version is v8.20.2
Please, update your library's package file to v8.20.0+