MCPcopy Create free account
hub / github.com/adobe/react-spectrum / update

Function update

packages/react-stately/src/virtualizer/Layout.ts:82–82  ·  view source on GitHub ↗

* This method allows the layout to perform any pre-computation * it needs to in order to prepare LayoutInfos for retrieval. * Called by the virtualizer before `getVisibleLayoutInfos` * or `getLayoutInfo` are called.

(invalidationContext: InvalidationContext<O>)

Source from the content-addressed store, hash-verified

80 * or `getLayoutInfo` are called.
81 */
82 update(invalidationContext: InvalidationContext<O>): void {} // eslint-disable-line @typescript-eslint/no-unused-vars
83
84 /**
85 * Updates the size of the given item.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected