MCPcopy Create free account

hub / github.com/bvaughn/react-window / functions

Functions210 in github.com/bvaughn/react-window

↓ 10 callersFunctionuseDynamicRowHeight
({ defaultRowHeight, key }: { defaultRowHeight: number; key?: string | number; })
lib/components/list/useDynamicRowHeight.ts:7
↓ 6 callersFunctionassert
( expectedCondition: unknown, message: string = "Assertion error" )
lib/utils/assert.ts:1
↓ 6 callersFunctioncreateCachedBounds
({ itemCount, itemProps, itemSize }: { itemCount: number; itemProps: Props; itemSize: number | Siz
lib/core/createCachedBounds.ts:4
↓ 5 callersFunctionshallowCompare
( a: Type | undefined, b: Type | undefined )
lib/utils/shallowCompare.ts:3
↓ 4 callersFunctionsetDefaultElementSize
({ height, width }: { height: number; width: number; })
lib/utils/test/mockResizeObserver.ts:18
↓ 4 callersFunctionsetElementSize
({ element, height, width }: { element: HTMLElement; height: number; width: number; })
lib/utils/test/mockResizeObserver.ts:36
↓ 4 callersFunctionuseStableCallback
( fn: ((...args: Args) => Return) | undefined )
lib/hooks/useStableCallback.ts:11
↓ 4 callersFunctionuseVirtualizer
({ containerElement, containerStyle, defaultContainerSize = 0, direction, isRtl = false, itemCount
lib/core/useVirtualizer.ts:21
↓ 3 callersFunctiongetEstimatedSize
({ cachedBounds, itemCount, itemSize }: { cachedBounds: CachedBounds; itemCount: number; itemSize:
lib/core/getEstimatedSize.ts:4
↓ 3 callersFunctiongetOffsetForIndex
({ align, cachedBounds, index, itemCount, itemSize, containerScrollOffset, containerSize }: {
lib/core/getOffsetForIndex.ts:5
↓ 3 callersFunctiongetStartStopIndices
({ cachedBounds, containerScrollOffset, containerSize, itemCount, overscanCount }: { cachedBounds:
lib/core/getStartStopIndices.ts:3
↓ 3 callersFunctionindexToColumn
(columnIndex: number)
src/routes/grid/examples/shared.ts:18
↓ 3 callersMethodobserve
(element: HTMLElement)
lib/utils/test/mockResizeObserver.ts:84
↓ 3 callersFunctionsimulateUnsupportedEnvironmentForTest
()
lib/utils/test/mockResizeObserver.ts:50
↓ 3 callersFunctionuseContacts
()
src/routes/grid/hooks/useContacts.ts:6
↓ 3 callersFunctionuseMemoizedObject
( unstableObject: Type )
lib/hooks/useMemoizedObject.ts:4
↓ 3 callersFunctionuseResizeObserver
({ box, defaultHeight, defaultWidth, disabled: disabledProp, element, mode, style }: { box?: R
lib/hooks/useResizeObserver.ts:5
↓ 2 callersMethod#notify
(elements: HTMLElement[])
lib/utils/test/mockResizeObserver.ts:104
↓ 2 callersFunctionadjustScrollOffsetForRtl
({ containerElement, direction, isRtl, scrollOffset }: { containerElement: HTMLElement | null; dir
lib/utils/adjustScrollOffsetForRtl.ts:4
↓ 2 callersFunctiondisableResizeObserverForCurrentTest
()
lib/utils/test/mockResizeObserver.ts:14
↓ 2 callersFunctionparseNumericStyleValue
( value: CSSProperties["height"] )
lib/utils/parseNumericStyleValue.ts:3
↓ 2 callersFunctionrowKey
(index: number, { data }: { data: string[] })
lib/virtualization.test.tsx:112
↓ 2 callersMethodunobserve
(element: HTMLElement)
lib/utils/test/mockResizeObserver.ts:93
↓ 2 callersFunctionuseCachedBounds
({ itemCount, itemProps, itemSize }: { itemCount: number; itemProps: Props; itemSize: number | Siz
lib/core/useCachedBounds.ts:5
↓ 2 callersFunctionuseCitiesByState
()
src/routes/list/hooks/useCitiesByState.ts:8
↓ 2 callersFunctionuseIsRtl
( element: HTMLElement | null, dir: HTMLAttributes<HTMLElement>["dir"] )
lib/core/useIsRtl.ts:4
↓ 2 callersFunctionuseItemSize
({ containerSize, itemSize: itemSizeProp }: { containerSize: number; itemSize: number | string | SizeF
lib/core/useItemSize.ts:4
↓ 1 callersFunctionassertRenderedBy
(page: Page, type: "client" | "server")
integrations/tests/tests/layout-shift.spec.tsx:5
↓ 1 callersFunctionbounds
(page: Page, index: number)
integrations/tests/tests/dynamic-scroll.spec.tsx:11
↓ 1 callersFunctioncreateItems
()
src/routes/ScratchpadRoute.tsx:110
↓ 1 callersFunctioncreateRowElement
(index: number)
lib/components/list/useDynamicRowHeight.test.ts:137
↓ 1 callersFunctioncreateTestHelper
(align: Align)
lib/core/getOffsetForIndex.test.ts:80
↓ 1 callersFunctiondecode
(stringified: string)
integrations/tests/src/utils/serializer/decode.ts:17
↓ 1 callersFunctiondecodeChildren
(children: EncodedElement[])
integrations/tests/src/utils/serializer/decode.ts:23
↓ 1 callersFunctiondecodeList
( json: EncodedListElement )
integrations/tests/src/utils/serializer/decode.ts:53
↓ 1 callersFunctiondecodeRowComponent
( json: EncodedRowComponentElement )
integrations/tests/src/utils/serializer/decode.ts:62
↓ 1 callersFunctiondecodeText
(json: EncodedTextElement)
integrations/tests/src/utils/serializer/decode.ts:71
↓ 1 callersMethoddisconnect
()
lib/utils/test/mockResizeObserver.ts:97
↓ 1 callersFunctionencodeChildren
(children: ReactElement<unknown>[])
integrations/tests/src/utils/serializer/encode.ts:22
↓ 1 callersFunctionencodeList
( element: ReactElement<ListProps<RowComponentData>> )
integrations/tests/src/utils/serializer/encode.ts:61
↓ 1 callersFunctionencodeRowComponent
( element: ReactElement<RowComponentProps<RowComponentData>> )
integrations/tests/src/utils/serializer/encode.ts:70
↓ 1 callersFunctionencodeTextChild
(element: ReactElement<TextProps>)
integrations/tests/src/utils/serializer/encode.ts:79
↓ 1 callersFunctiongetContrastColor
(hex: string)
lib/utils/colors/getContrastColor.ts:1
↓ 1 callersFunctiongetIndices
({ containerScrollOffset, containerSize, itemCount, itemSize, overscanCount = 0 }: {
lib/core/getStartStopIndices.test.ts:6
↓ 1 callersFunctiongetRTLOffsetType
(recalculate: boolean = false)
lib/utils/getRTLOffsetType.ts:14
↓ 1 callersFunctionisRtl
(element: HTMLElement)
lib/utils/isRtl.ts:1
↓ 1 callersFunctionitemSize
(index: number)
lib/core/useVirtualizer.test.ts:64
↓ 1 callersFunctionmockResizeObserver
()
lib/utils/test/mockResizeObserver.ts:55
↓ 1 callersFunctionmockScrollTo
()
lib/utils/test/mockScrollTo.ts:3
↓ 1 callersFunctionsetElementSizeFunction
(value: GetDOMRect)
lib/utils/test/mockResizeObserver.ts:30
↓ 1 callersFunctionsetMockRowHeights
( indexToHeight: Map<number, number>, defaultHeight: number = 25 )
lib/components/list/List.test.tsx:687
↓ 1 callersFunctionsetScrollbarSizeForTests
(value: number)
lib/utils/getScrollbarSize.ts:21
↓ 1 callersFunctionsettle
(page: Page)
integrations/tests/tests/dynamic-scroll.spec.tsx:5
↓ 1 callersFunctionstringToColor
(string: string)
lib/utils/colors/stringToColor.ts:1
↓ 1 callersFunctiontoNative
(offset: number)
lib/virtualization.test.tsx:170
↓ 1 callersFunctionuseAddresses
()
src/routes/tables/hooks/useAddresses.ts:6
↓ 1 callersFunctionuseCustomHook
(ref: GridImperativeAPI | null)
src/routes/grid/examples/useGridCallbackRef.tsx:5
↓ 1 callersFunctionuseCustomHook
(ref: ListImperativeAPI | null)
src/routes/list/examples/useListCallbackRef.tsx:5
↓ 1 callersFunctionuseEmails
()
src/routes/grid/hooks/useEmails.ts:4
↓ 1 callersFunctionuseListState
(lorem: string[])
src/routes/list/examples/ListDynamicRowHeights.tsx:32
↓ 1 callersFunctionuseLorem
()
src/routes/list/hooks/useLorem.ts:3
↓ 1 callersFunctionuseScrollToRow
({ element, getCellBounds, isDynamicRowHeight, rowCount, rowElements, scrollToIndex }: { element
lib/components/list/useScrollToRow.ts:9
FunctionAnimationFrameRowCellCounter
()
integrations/tests/src/components/AnimationFrameRowCellCounter.tsx:5
FunctionApp
()
src/App.tsx:15
FunctionAriaRolesRoute
()
src/routes/tables/AriaRolesRoute.tsx:5
FunctionAriaRolesRoute
()
src/routes/grid/AriaRolesRoute.tsx:6
FunctionAriaRolesRoute
()
src/routes/list/AriaRolesRoute.tsx:6
FunctionButton
({ className, disabled, ...rest }: ButtonHTMLAttributes<HTMLButtonElement>)
src/routes/ScratchpadRoute.tsx:127
FunctionCell
({ style }: CellComponentProps)
lib/virtualization.test.tsx:27
FunctionCellComponent
({ contacts, columnIndex, rowIndex, style }: CellComponentProps<{ contacts: Contact[]; }>)
src/routes/grid/examples/CellComponent.tsx:8
FunctionCellComponent
({ columnIndex, emails, style }: CellComponentProps<{ emails: string[] }>)
src/routes/grid/examples/HorizontalListCellRenderer.tsx:7
FunctionCellComponent
({ ariaAttributes, // @ts-expect-error Unused variable // eslint-disable-next-line columnIndex, // @
src/routes/grid/examples/CellComponentAriaRoles.tsx:3
FunctionCellComponent
({ contacts, columnIndex, rowIndex, style }: CellComponentProps<{ contacts: Contact[]; }>)
src/routes/grid/examples/RtlGrid.tsx:29
FunctionCellComponent
({ ariaAttributes, columnIndex, rowIndex, style }: CellComponentProps<object>)
integrations/vike/pages/grid/CellComponent.tsx:3
FunctionCellComponent
({ ariaAttributes, columnIndex, rowIndex, style }: CellComponentProps<object>)
integrations/next/app/grid/components/CellComponent.tsx:5
FunctionCellComponent
({ ariaAttributes, columnIndex, rowIndex, style }: CellComponentProps<object>)
integrations/vite/src/routes/Grid.tsx:30
FunctionCellComponentWithCellProps
({ columnIndex, rowIndex, style }: CellComponentProps<{ gridRef: GridImperativeA
lib/components/grid/Grid.test.tsx:743
FunctionContinueLink
({ title, to }: { title: string; to: Path })
src/components/ContinueLink.tsx:4
FunctionCustomCellComponent
({ style }: CellComponentProps<object>)
lib/components/grid/Grid.test.tsx:492
FunctionCustomRowComponent
({ index, style }: RowComponentProps<object>)
lib/components/list/List.test.tsx:386
FunctionDebugData
({ data }: { data: object })
integrations/tests/src/components/DebugData.tsx:3
FunctionDecoder
({ encoded }: { encoded: string; searchParams: URLSearchParams; })
integrations/tests/src/components/Decoder.tsx:8
FunctionDecoder
({ encoded: encodedProp, searchParams: searchParamsMap }: { encoded: string; searchParams: { [key: str
integrations/next/app/decoder/[encoded]/Decoder.tsx:6
FunctionDecoderRoute
()
integrations/vite/src/routes/Decoder.tsx:4
FunctionDynamicRowHeightsRoute
()
src/routes/list/DynamicRowHeightsRoute.tsx:15
FunctionEnvironmentMarker
({ children }: { children: string })
integrations/tests/src/components/EnvironmentMarker.tsx:1
FunctionExample
({ data }: { data: string[] })
lib/virtualization.test.tsx:204
FunctionExample
()
lib/components/list/List.test.tsx:670
FunctionExample
({ addresses }: { addresses: Address[] })
src/routes/tables/examples/FlexboxLayout.tsx:10
FunctionExample
()
src/routes/tables/examples/TableAriaOverrideProps.tsx:12
FunctionExample
({ contacts }: { contacts: Contact[] })
src/routes/grid/examples/Grid.tsx:11
FunctionExample
(props: Props)
src/routes/grid/examples/useGridCallbackRef.tsx:13
FunctionExample
(props: Props)
src/routes/grid/examples/useGridRef.tsx:7
FunctionExample
(props: Props)
src/routes/list/examples/useListCallbackRef.tsx:13
FunctionExample
()
src/routes/list/examples/ListWithStickyRows.tsx:15
FunctionExample
({ images }: { images: string[] })
src/routes/list/examples/Images.tsx:12
FunctionExample
({ names }: { names: string[] })
src/routes/list/examples/FixedHeightList.tsx:7
FunctionExample
({ items }: { items: Item[] })
src/routes/list/examples/ListVariableRowHeights.tsx:19
FunctionExample
(props: Props)
src/routes/list/examples/useListRef.tsx:7
FunctionExample
({ lorem }: { lorem: string[] })
src/routes/list/examples/ListDynamicRowHeights.tsx:7
next →1–100 of 210, ranked by callers