MCPcopy Index your code
hub / github.com/TanStack/table / refreshData

Function refreshData

examples/react/sorting/src/main.tsx:80–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79 const [data, setData] = React.useState(() => makeData(1_000))
80 const refreshData = () => setData(() => makeData(100_000)) //stress test with 100k rows
81
82 const table = useReactTable({
83 columns,

Callers 3

AppFunction · 0.70
AppFunction · 0.50
AppFunction · 0.50

Calls 1

makeDataFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…