MCPcopy Create free account
hub / github.com/TanStack/table / refreshData

Function refreshData

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

Source from the content-addressed store, hash-verified

112
113 const [data, setData] = React.useState(() => makeData(100, 5, 3))
114 const refreshData = () => setData(() => makeData(100, 5, 3))
115
116 const [expanded, setExpanded] = React.useState<ExpandedState>({})
117

Callers 1

AppFunction · 0.70

Calls 1

makeDataFunction · 0.90

Tested by

no test coverage detected