MCPcopy Index your code
hub / github.com/bvaughn/react-virtualized / initSectionManager

Function initSectionManager

source/Collection/SectionManager.jest.js:4–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import {CELLS, SECTION_SIZE} from './TestData';
3
4function initSectionManager() {
5 const sectionManager = new SectionManager(SECTION_SIZE);
6 CELLS.forEach((cellMetadatum, index) => {
7 sectionManager.registerCell({
8 cellMetadatum,
9 index,
10 });
11 });
12 return sectionManager;
13}
14
15function verifySections(
16 sectionManager,

Callers 1

Calls 1

registerCellMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…