Download node_modules/@tanstack/react-table/dist/reactivity.js from sitcod3/modul-s: direct link, hf CLI and curl.
- Browser
- Download file 753 Bytes
-
https://huggingface.co/spaces/sitcod3/modul-s/resolve/c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/%40tanstack/react-table/dist/reactivity.js
- Command line
-
hf download hf://spaces/sitcod3/modul-s@c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/@tanstack/react-table/dist/reactivity.js
-
curl -L -o reactivity.js https://huggingface.co/spaces/sitcod3/modul-s/resolve/c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/%40tanstack/react-table/dist/reactivity.js
753 Bytes
| import { batch, createAtom } from "@tanstack/react-store"; | |
| import { renderPhaseReactivity } from "@tanstack/table-core/reactivity"; | |
| //#region src/reactivity.ts | |
| /** | |
| * Creates the table-core reactivity bindings used by the React adapter. | |
| * | |
| * React stores table state in TanStack Store atoms and leaves options as plain | |
| * resolved data because `useTable` synchronizes options during render. The | |
| * render-phase preset supplies the live readonly-atom facades and the `commit` | |
| * hook; the store primitives are passed in from `@tanstack/react-store` so all | |
| * atoms share one store instance with user-provided external atoms. | |
| */ | |
| function reactReactivity() { | |
| return renderPhaseReactivity({ | |
| createAtom, | |
| batch | |
| }); | |
| } | |
| //#endregion | |
| export { reactReactivity }; |