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

@attio/react-data-list

v1.0.6

Published

React Data List is a library which helps you build data arrays by expressing items declaratively using React components. It was built primarily for React Native, but should work anywhere.

Readme

React Data List

React Data List is a library which helps you build data arrays by expressing items declaratively using React components. It was built primarily for React Native, but should work anywhere.

Why?

For a full explanation around why this exists, please checkout the counterpart article here.

How does it look?

Example 1 - Basic

function ErrorOnRenderCheck() {
    return (
        <View
            onLayout={() => {
                throw new Error("This never happens as we evaluate descriptors before first paint.")
            }}
        />
    )
}

<ReactDataList
    renderer={
        <FlashListRenderer
            contentContainerStyle={contentContainerStyle}
            ListHeaderComponent={
                <Header
                    toggleThorinAndCompany={toggleThorinAndCompany}
                    jumbleFellowship={jumbleFellowship}
                />
            }
        />
    }
    renderEmpty={() => (
        /**
         * This never happens as we're guaranteed rows will be
         * evaluated to data items on first paint.
         */
        <View style={styles.alert}>
            <ErrorOnRenderCheck />
        </View>
    )}
>
    {/* Supports nested ReactDataList instances */}
    <ListHeaderDataListRow title="Places in Middle Earth" />
    <MiddleEarthPlacesDataListRow placeItems={MIDDLE_EARTH_PLACES} />

    <ListHeaderDataListRow title="The Fellowship" />
    {fellowship.map((character) => (
        <CharacterListItemDataListRow
            key={character.name}
            name={character.name}
            race={character.race}
            url={character.url}
        />
    ))}

    {isShowingThorinAndCompany && (
        <>
            <ListHeaderDataListRow title="Thorin and Company" />
            <React.Suspense fallback={<LoadingListItemDataListRow />}>
                <MiddleEarthHobbitCompanyDataListRows />
            </React.Suspense>
        </>
    )}
</ReactDataList>

https://github.com/user-attachments/assets/23c2d232-7f35-470e-98b4-156efaaf326a

Example 2 - Fetchable Template

A lightweight wrapper around ReactDataList which provides a top-level React.Suspense and ErrorBoundary. This is useful for typical async work, where you may want to display skeleton rows (via renderPendingRows), a full-screen spinner (via renderPending), or perhaps a full-screen error message (via renderError).

<ReactDataList.Fetchable
    renderer={
        <FlashListRenderer
            contentContainerStyle={contentContainerStyle}
            ListHeaderComponent={<Header reload={reload} />}
        />
    }
    renderPendingRows={
        <>
            <ListHeaderDataListRow title="Thorin and Company" />
            <LoadingListItemDataListRow />
            <LoadingListItemDataListRow />
            <LoadingListItemDataListRow />
            <LoadingListItemDataListRow />
            <LoadingListItemDataListRow />
            <LoadingListItemDataListRow />
        </>
    }
>
    <ListHeaderDataListRow title="Thorin and Company" />
    <MiddleEarthHobbitCompanyDataListRows key={reloadKey} />
</ReactDataList.Fetchable>

https://github.com/user-attachments/assets/8ab7b63e-1ddc-40f9-8d20-6d443f21c934

Release Process

This repo uses Changesets for versioning and GitHub Actions for automated publishing.

1. Create Changesets for Changes

# Generate a changeset for your changes
bunx changeset
  • Select which packages are affected by your changes
  • Choose the appropriate semantic version bump (patch, minor, major)
  • Write a descriptive summary of the changes
  • Commit the generated changeset file in .changeset/

2. Automated Version Management

When you push to the master branch, the GitHub Action will:

  • Create a Release PR: If there are pending changesets, it creates a "Version Packages" PR with updated version numbers, CHANGELOGs, and consumed changeset files

3. Release Publication

When the "Version Packages" PR is merged:

  • Automated Build: Builds only packages using bun run build-release
  • Automated Publishing: Publishes updated packages to NPM via changeset publish
  • Git Tagging: Creates appropriate git tags for the released versions

Manual Release (if needed)

# 1. Create changesets for changes
bunx changeset

# 2. Version packages (updates versions + CHANGELOGs)
bun run changeset-version

# 3. Build and publish
bun run changeset-publish