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 🙏

© 2026 – Pkg Stats / Ryan Hefner

effective-rsc

v0.2.0

Published

An experimental, Effect-native React Server Components framework for Bun.

Readme

effective-rsc

React owns the UI. Effect owns the runtime.

An experimental, Effect-native React Server Components framework for Bun. Built on Rspack's native RSC support.

Experimental. Uses React Canary, Effect v4 RC, TypeScript 7, Rspack's RSC support, and modern browser APIs. Current limitations.

Create an application

Requires Bun 1.4 or newer. The scaffold installs compatible React Canary and Effect dependencies.

bunx create-ersc-app my-application
cd my-application
bun run dev

Open http://localhost:18193. Define Pages, Layouts, and Routes in src/application.tsx; provide application services with one Effect Layer. Server Functions validate inputs with Schema and work with native React forms, or as client queries and streams.

Use bun run check, bun run build, and bun run start to verify and run production output.

Client navigation uses the Navigation API and NavigationPrecommitController. Browsers missing either still hydrate Client Components and support Server Functions; links load full documents. Without JavaScript, links and native forms continue to work.

Why effective-rsc

ERSC brings server-rendered React, Effect services, and streaming work into one typed application.

  • Native React, with Effect and Schema. Write Effectful Server Components and validate Server Function arguments with Schema. Service requirements stay inferred, while forms and useActionState retain React's native behavior, including submission without JavaScript.
  • One application runtime. Provide services once through an Effect Layer and use them in Pages, Components, Server Functions, and native Effect HTTP routes. Middleware supplies request-local services; scopes manage server resources and shutdown.
  • Routes you can see and compose. Define Pages, nested Layouts, Loading fallbacks, and middleware together in typed Routes. Only src/application.tsx has special meaning; organize the rest around your application.
  • Streaming UI and data. Send useful HTML while slower content loads. Query Server Functions for values and React content, or consume their streams as chunks arrive. Effect, Stream, and atom helpers bring those results into client-side logic and state, with typed failures and cancellation.
  • Browser-native navigation. Shared Layouts stay mounted while destinations load. URL, history, focus, and scroll advance when the destination first appears, while remaining content streams. Applications own their React View Transition boundaries and CSS; ERSC supplies navigation context.

Documentation

These docs also ship in node_modules/effective-rsc/docs and node_modules/effective-rsc/LLMS.md. Framework contributors should start with the architecture docs.

Examples

  • Hello world: streaming, navigation, a counter, a form, and Vercel deployment.
  • Event platform: a conference application with SQLite persistence.
  • Streaming feed: server-seeded atoms, infinite scrolling, and streamed Server Components.

Credits

Key dependencies

Prior art