npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@shopify/flash-list

v2.2.0

Published

FlashList is a more performant FlatList replacement

Readme

FlashList Image

Fast & performant React Native list. No more blank cells.

Swap from FlatList in seconds. Get instant performance.

FlashList v2

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.

Why use FlashList?

🚀 Superior Performance

  • No more blank cells: FlashList uses view recycling to ensure smooth scrolling without visible blank areas.
  • Fast initial render: Optimized for quick first paint.
  • Efficient memory usage: Recycles views instead of destroying them, reducing memory overhead.
  • Supports view types: Great performance even if different types of components make up the list.
  • Dynamic sizes: Super fast and doesn't need any estimates.

🎯 Developer Experience

  • Drop-in replacement for FlatList: Simply change the component name - if you know FlatList, you already know FlashList.
  • No size estimates required in v2: Unlike v1, FlashList v2 automatically handles item sizing.
  • Type-safe: Full TypeScript support with comprehensive type definitions.

📱 Advanced Features

  • Masonry layout support: Create Pinterest-style layouts with varying item heights and column spans.
  • Maintain visible content position: Automatically handles content shifts when adding items (enabled by default in v2).
  • Multiple recycling pools: Optimizes performance for lists with different item types using getItemType.
  • Built for React Native's new architecture: FlashList v2 is designed specifically for the new architecture.

⚡ Real-world Benefits

  • Reduced frame drops: Maintains 60 FPS even with complex item components.
  • Lower CPU usage: Efficient recycling reduces computational overhead.
  • Smoother scrolling: Predictable performance even with thousands of items.
  • JS-only solution in v2: No native dependencies, making it easier to maintain while delivering fast performance.

Installation

Add the package to your project via yarn add @shopify/flash-list.

Usage

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.

App / Playground

The fixture is an example app showing how to use the library.