MCPcopy Index your code
hub / github.com/adobe/react-spectrum / reload

Function reload

packages/react-stately/src/data/useAsyncList.ts:353–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351 return data.items.find(item => getKey(item) === key);
352 },
353 reload() {
354 dispatchFetch({type: 'loading'}, load);
355 },
356 loadMore() {
357 // Ignore if already loading more or if performing server side filtering.
358 if (

Callers

nothing calls this directly

Calls 1

dispatchFetchFunction · 0.85

Tested by

no test coverage detected