JSPM

react-native-virtualized-view

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4078
  • Score
    100M100P100Q128764F
  • License MIT

React Native Flatlist inside Scrollview.

Package Exports

  • react-native-virtualized-view
  • react-native-virtualized-view/lib/commonjs/index.js
  • react-native-virtualized-view/lib/module/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-virtualized-view) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-virtualized-view

When Flatlist inside Scrollview, will have a warning:

virtualizedlists should never be nested inside plain scrollviews with the same orientation because it can break windowing and other functionality - use another virtualizedlist-backed container instead.

react-native-virtualized-view will resolve this problem.

Getting started

    npm install react-native-virtualized-view --save

or

    yarn add react-native-virtualized-view

Usage

  import { FlatList } from 'react-native';
  import { ScrollView } from 'react-native-virtualized-view';

  return (
    <ScrollView>
      <FlatList />
      <FlatList />
    </ScrollView>
  )