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

astro-solid-next

v0.1.0

Published

Astro renderer integration for Solid 2.0 ([email protected]) — SSR islands rendered with renderToStream and hydrated with the 2.0 runtime

Readme

astro-solid-next

Astro renderer integration for Solid 2.0 ([email protected]). The official @astrojs/solid-js targets Solid 1.x; this integration renders Astro islands with the 2.0 runtime (@solidjs/web) and the new compiler plugin (@solidjs/vite-plugin).

Usage

npm i astro-solid-next solid-js@rc @solidjs/web@rc --legacy-peer-deps
// astro.config.mjs
import { defineConfig } from 'astro/config'
import solidNext from 'astro-solid-next'

export default defineConfig({
  integrations: [solidNext()],
})
---
import Counter from '../components/Counter.tsx'
---
<Counter start={5} client:load>
  <p>slotted content</p>
</Counter>

Options: include / exclude (vite filter patterns) to scope which files the Solid compiler transforms — needed when combining multiple JSX frameworks.

How it maps onto Solid 2.0

  • Server islands render with await renderToStream(fn, { renderId, noScripts }) — awaiting the stream resolves the fully settled HTML, so async in the reactive graph (promises in createMemo under a Loading boundary) settles before the island serializes. Server-only islands render inside NoHydration with noScripts: true.
  • Hydration uses the same renderId on the client (hydrate(fn, el, { renderId })), scoping hydration keys per island. The hydration bootstrap is injected once per page via Astro's renderHydrationScriptgenerateHydrationScript().
  • Props updates (view transitions) patch a createStore with reconcile, same as the official 1.x renderer — stores are part of core solid-js in 2.0.
  • The compiler runs in legacy transform-only mode (ssr: true, no start): Astro owns the server and the document, the plugin only provides hydratable client output and string-mode SSR output per Vite environment.

Example

examples/basic — a static Astro build with a server-only island and a hydrated counter island with slotted content.

cd examples/basic && npm i --legacy-peer-deps && npm run build && npm run preview

Status

Experimental. Tracks the Solid 2.0 RC (peer ^2.0.0-rc.0) and Astro ≥ 5 (tested on Astro 7 / Vite 8). Expect churn until Solid 2.0 is stable.