react-native-macos/packages/virtualized-lists
Nick Gerleman 8f7f0bf2a3 Extract logic to CellMetricsAggregator (#37777)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37777

This extracts the state and logic VirtualizedList uses to query information related to cell metrics. We will need to modify this (and other places) when fixing up RTL support for horizontal FlatList.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D46427052

fbshipit-source-id: 0a23f6c726447de0f20c583b4d507003efd6a754
2023-06-08 15:53:10 -07:00
..
Interaction Reconnect VirtualizedList Source History 2/2 (Apply D41745930 + history, D42805202, D43063551) 2023-02-06 20:00:19 -08:00
Lists Extract logic to CellMetricsAggregator (#37777) 2023-06-08 15:53:10 -07:00
Utilities Reconnect VirtualizedList Source History 2/2 (Apply D41745930 + history, D42805202, D43063551) 2023-02-06 20:00:19 -08:00
.npmignore fix[virtualized-lists]: do not ship tests in npm package (#36143) 2023-02-14 04:12:39 -08:00
README.md Add missing READMEs & Update package.json in all RN packages (#37090) 2023-04-28 04:26:20 -07:00
index.d.ts Reconnect VirtualizedList Source History 2/2 (Apply D41745930 + history, D42805202, D43063551) 2023-02-06 20:00:19 -08:00
index.js Fix types + documentation for CellRendererComponent 2023-03-14 15:32:05 -07:00
package.json Add missing READMEs & Update package.json in all RN packages (#37090) 2023-04-28 04:26:20 -07:00

README.md

@react-native/virtualized-lists

Version

Installation

yarn add @react-native/virtualized-lists

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/virtualized-lists.