mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5cb2debbea
Summary: A CellRenderMask helps track regions of cells/spacers to render. It's API allows adding ranges of cells, where its otput be an ordered list of contiguous spacer/non-spacer ranges. The implementation keeps this region list internally, splitting or merging regions when cells are added. This output will be used by the render function of a refactored VirtualizedList. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Internal] [Added] - Add "CellRenderMask" Region Tracking Structure Pull Request resolved: https://github.com/facebook/react-native/pull/31420 Test Plan: Validated via UTs. Reviewed By: lunaleaps Differential Revision: D28293161 Pulled By: rozele fbshipit-source-id: a5e4e2144a90387aabe0974650429018440abf67