https://github.com/hoaphantn7604/react-native-virtualized-view
React Native Flatlist inside Scrollview
https://github.com/hoaphantn7604/react-native-virtualized-view
components elements flatlist-inside-scrollview react-native virtualized-view
Last synced: 3 months ago
JSON representation
React Native Flatlist inside Scrollview
- Host: GitHub
- URL: https://github.com/hoaphantn7604/react-native-virtualized-view
- Owner: hoaphantn7604
- License: mit
- Created: 2021-11-18T01:20:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T14:14:27.000Z (over 1 year ago)
- Last Synced: 2025-03-27T06:34:44.815Z (4 months ago)
- Topics: components, elements, flatlist-inside-scrollview, react-native, virtualized-view
- Language: JavaScript
- Homepage:
- Size: 308 KB
- Stars: 27
- Watchers: 1
- Forks: 8
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
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
```js
npm install react-native-virtualized-view --save
```
or
```js
yarn add react-native-virtualized-view
```
## Usage
```javascript
import { FlatList } from 'react-native';
import { ScrollView } from 'react-native-virtualized-view';return (
)
```