Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ntorionbearstudio committed Nov 4, 2023
1 parent 0aacac5 commit 356d6ec
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions docs/docs/Components/Lists/flashlist.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ https://shopify.github.io/flash-list/docs/

So, `List` component accepts every props from react native `FlatList` component.

:::info

`FlashList` is a great component with huge performances improvements but it works better with list items of the same size/height.
That's why you have to pass an `estimatedItemSize` param to `FlashList` component. <br /><br />
If you have items with different sizes to display inside your list, you should use default `List` / `FlatList` component.
Using `FlashList` with different sizes will cause blank spaces while scrolling into the list.

:::

## Import

```js
Expand Down

0 comments on commit 356d6ec

Please sign in to comment.