
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@shopify/flash-list
Advanced tools

Fast & performant React Native list. No more blank cells.
Swap from FlatList in seconds. Get instant performance.
FlashList v2 has been rebuilt from the ground up for RN's new architecture and delivers fast performance, higher precision, and better ease of use compared to v1. We've achieved all this while moving to a JS-only solution! One of the key advantages of FlashList v2 is that it doesn't require any estimates. It also introduces several new features compared to v1. To know more about what's new in v2 click here.
⚠️ IMPORTANT: FlashList v2.x has been designed to be new architecture only and will not run on old architecture. If you're running on old architecture or using FlashList v1.x, you can access the documentation specific to v1 here: FlashList v1 Documentation.
getItemType.Add the package to your project via yarn add @shopify/flash-list.
But if you are familiar with FlatList, you already know how to use FlashList. You can try out FlashList by changing the component name or refer to the example below:
import React from "react";
import { View, Text } from "react-native";
import { FlashList } from "@shopify/flash-list";
const DATA = [
{
title: "First Item",
},
{
title: "Second Item",
},
];
const MyList = () => {
return (
<FlashList
data={DATA}
renderItem={({ item }) => <Text>{item.title}</Text>}
/>
);
};
To avoid common pitfalls, you can also follow these steps for migrating from FlatList.
The fixture is an example app showing how to use the library.
react-native-recyclerview-list is a high-performance list component for React Native that leverages the RecyclerView from Android. It is designed to handle large datasets efficiently, similar to @shopify/flash-list. However, it is more Android-centric and may not provide the same level of performance on iOS.
react-native-virtualized-view is another package designed to handle large lists efficiently in React Native. It provides a virtualized list view that only renders items that are currently visible on the screen, similar to @shopify/flash-list. However, it may require more configuration and customization to achieve optimal performance.
react-native-largelist is a high-performance list component for React Native that is optimized for handling large datasets. It provides smooth scrolling and efficient rendering, similar to @shopify/flash-list. However, it may have a steeper learning curve and require more effort to integrate into an existing project.
FAQs
FlashList is a more performant FlatList replacement
The npm package @shopify/flash-list receives a total of 1,254,822 weekly downloads. As such, @shopify/flash-list popularity was classified as popular.
We found that @shopify/flash-list demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.