MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized /

Class

lib/components/Masonry/PositionCache.ts:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6// O(log(n)) lookup of cells to render for a given viewport size
7// O(1) lookup of shortest measured column (so we know when to enter phase 1)
8export class PositionCache {
9 // Tracks the height of each column
10 _columnSizeMap: { [x: number]: number } = {};
11

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected