UNPKG

@tanstack/svelte-table

Version:

Headless UI for building powerful tables & datagrids for Svelte.

12 lines (11 loc) 606 B
import type { TableReactivityBindings } from '@tanstack/table-core/reactivity'; /** * Creates the table-core reactivity bindings used by the Svelte adapter. * * Table state atoms are backed by TanStack Store atoms. The options store stays * framework-native because row-model APIs read `table.options` directly during * render. Readonly table atoms bridge Store dependency tracking into * `$derived.by`, so their `.get()` methods participate in Svelte dependency * tracking when called in templates, `$derived`, or `$effect`. */ export declare function svelteReactivity(): TableReactivityBindings;