r/solidjs • • 3h ago

Having problems with Solid 2.0 and TanStack Start

3 Upvotes

Seems like Solid 2.0. is at the moment incompatible with TanStack Start? Can anyone confirm this? I have updated u/tanstack/solid-* packages to 2.0@rc, but the start-core seems to be pulling from the v1 package.


r/solidjs • • 1d ago

How does SSG work with v2

2 Upvotes

hi, i have checked the docs but still not clear how ssg work in v2. i have been using sveltekit for my static sites but i want to migrate to solid js. with this static shell thing, is it not possible to get seo friendly pages like we generally get? i'm just generating site and publishing them on cf pages.

i appreciate if you can direct me to a simple configuration if possible


r/solidjs • • 1d ago

A Solid RealWorld app with an explicit server/client boundary

4 Upvotes

I built a RealWorld app with Solid and Backtick (I'm the project's maintainer).

Transfer sizes, gzipped:

  • First page: ~5 KB HTML + 17 KB Solid runtime
  • Next pages: ~5 KB HTML (Solid runtime cached)

It's server-driven but client-rendered (no SSR). For each page, the server generates a Solid component that renders in the browser.

Code inside cs runs in the browser. Everything outside it runs on the server. Values cross the boundary through $ splices. It's a two-stage programming model with an explicit boundary.

I've mostly built Backtick for React Native, but I'd love to put more time into Solid if there's interest.

simplified snippet from the repo

r/solidjs • • 2d ago

I built moduix: Ark UI components for Solid, with CSS Modules or Tailwind, installable via the shadcn CLI

2 Upvotes

I've been working on moduix for the past few months. It's an MIT component library on top of Ark UI: forms, dialogs, menus, tables, a sidebar and so on, already styled. You can use CSS Modules or Tailwind, and either install it from npm or copy the source into your project with the shadcn CLI, so the code is yours to change.

The video shows the Projects dashboard block. It's live on the site: switch the preview to Solid, add a project, and the table, the counters and the sidebar badge update. The Code tab has the whole source, it's plain Solid with signals and <For>.

Right now it targets Solid 1.9. Solid 2 is next: Ryan already moved Zag's Solid adapter to 2.0 ( https://github.com/chakra-ui/zag/pull/3563 ) and Ark UI v6 is in prerelease, so I'll ship it as soon as Ark is out.

Same components exist for React, Vue and Svelte too, but here I mostly want feedback from people who write Solid every day. What would you need before using something like this in a real app?

Try it in your app (after the registry setup from the quick start: https://moduix.dev/docs/quick-start ):

pnpm dlx shadcn@latest add @moduix-solid/projects-dashboard

Demo and source: https://moduix.dev/blocks/projects-dashboard?framework=solid&ref=reddit-solidjs

GitHub: https://github.com/Blinks44/moduix


r/solidjs • • 2d ago

Fireship on Solid 2.0 🚀

Thumbnail
youtube.com
65 Upvotes

r/solidjs • • 4d ago

Zinc: A modern, native version of Zotero

Thumbnail
reddit.com
0 Upvotes

FYI- a rewrite of Zotero (reference management app) in SolidJS and GPUIX


r/solidjs • • 4d ago

Solid 2.0 - The Long Hold

Thumbnail
solidjs.com
115 Upvotes

r/solidjs • • 4d ago

Treflex - App logic that runs without a renderer (SolidJS and React)

6 Upvotes

Video: https://youtu.be/vCTUfypEsi8

Live swap demo: https://tgoh.github.io/treflex/swap/

For the past few years I've been developing a framework where application logic runs without a renderer.

The problem

In most front-end code, logic is tied to components. A fetch starts in an effect, a timer lives in a component, a multi-step flow lives in whichever page is open. That's fine until the logic needs to outlive the component: switch tabs mid-search and it's cut off, or it starts twice when the component remounts. The usual fix is to hoist it to a parent or a global store, but a parent is still a component with its own mount lifetime, and a global has no lifetime at all. Neither matches what the logic is actually about.

Logic lives with the state

In Treflex, logic lives with the state it works on. A piece of state (an entity) owns its actions, timers and connections, and they live exactly as long as it does. When the entity is removed, all of its work stops.

This means the renderer is just a view onto the state. In the demo, the buttons at the bottom left (in the menu on mobile) swap between the Solid and React renderers in real time, on the same Treflex state. Even when the entire front end is torn down, timers and in-flight actions keep running, because they belong to entities rather than components. Only view state like scroll position resets.

And because all of it is plain data, the whole app (state, timers and connections) saves to JSON and comes back on reload, and any work the reload cut off is reported so the app can pick up where it left off.

Why another state framework?

AI agents write most of this code now, but async front-end code is where agents slip: races, double-starts, work that dies on unmount. Treflex makes that code checkable. There's no UI in the logic, so everything in your entities can be unit tested without rendering anything. A test decides the order effects answer in, so a race that would be flaky in a browser is a test that does the same thing every run. And the rules are enforced by the runtime and a lint plugin, with error messages that say what to change, so an agent finds out it got it wrong in a test or in lint, not in a bug report.

Try it

It's 0.2 and the API is still moving. I'd love to hear if you have any feedback or questions.


r/solidjs • • 5d ago

Mizzle now has video scenes for Solid, React and Svelte, and its own launch film is made from them

4 Upvotes

Until now Mizzle was components and blocks for React, Svelte and Solid. Now it also has video scenes: titles, chat messages, number rolls, end cards. They go into your project the same way a component does, so you can change the words, colours and timing yourself.

There are 69 scenes so far, and seven example films made only from them. The video is Mizzle's own launch film, made the same way.

https://mizzle.saddy.me


r/solidjs • • 5d ago

Built an open-source self-hosted secret manager with Solid.js, feedback welcome!

Thumbnail
gallery
8 Upvotes

I've been working on Yily, a self-hosted secret manager designed as a lightweight alternative to tools like Vault or Infisical, and I built the entire frontend using Solid.js.

The frontend is powered by Solid.js, Vite and Tailwind CSS. I use createSignal and createResource for state management, without relying on any heavy state management library, and solidjs-router for navigation. The app also supports 10 languages through full i18n integration, as well as both light and dark themes.

On the security side, Yily uses AES-256-GCM encryption at rest (handled server-side in Go) and Argon2id for authentication. It also includes audit logs, versioned secrets, and import/export support for .env, JSON and YAML files. There's both a web interface and a CLI, sharing the same API.

I've genuinely enjoyed building with Solid.js so far. Its fine-grained reactivity feels like a great fit for dashboard-style applications, and the overall experience has been really fast and pleasant to work with. I'd love to hear feedback from more experienced Solid.js developers, especially regarding the patterns I've used and the overall UI/UX.

I'm also looking for contributors! Yily is open source under the MIT license and currently in public beta. There are plenty of things to work on, including SDKs for Rust, Java, Python and C#, as well as tests, documentation and translations.

If you're interested in checking it out, contributing, or simply sharing some feedback, here are the links:

GitHub: https://github.com/yannick2009/yily

Website: https://yily.dev


r/solidjs • • 9d ago

Solid apps in OCaml

Post image
53 Upvotes

Hi r/solidjs!

At Hypha we build software in OCaml, with an open stack of our own. The backend part is covered by Spindle, our fantastic web framework, so nothing to complain about there. The frontend is a different beast, though.

What would be really great is to build full-stack reactive apps in OCaml on Solid, from one coherent set of libraries, for ourselves and for our customers, so that backend and frontend share one great language, one toolset, and the same high bar.

Unfortunately for us, Solid never had complete OCaml bindings, so after some investigation I made our own, for Solid itself and for Kobalte. And for the sake of having one of the best UI kits around, I also ported HeroUI, nearly in full, from React and React Aria onto Solid and Kobalte. Then came charts (rhp) and Gravity UI's icons. Sorted.

Even if you've never tried OCaml, you should be able to read the code, as it's pretty close to JSX/TSX markup:

module S = Solidtype.Solid
module Jsx = Solidtype.Jsx

let%component make ~(label : string) () =
  let count, set_count = S.create_signal 0 in
  <button on_click=(fun _ -> S.update set_count (fun c -> c + 1))>
    (fun () -> Jsx.string (label ())) ": " (fun () -> Jsx.int (S.get count))
  </button>

Why OCaml? Glad you asked. Agents now write much of our code, and a model guesses wherever nothing tells it otherwise. OCaml's types leave it much less room to guess, and the compiler is fast enough to answer inside an agent's loop. It's also nice to have one language for the whole stack, as TypeScript or Clojure gives you, and OCaml does too.

The docs have plenty of live examples and everything you or your agents need to build modern web apps in OCaml and Solid.

👉 https://hyphatech.github.io/solidtype/


r/solidjs • • 11d ago

made some cool animated components for Solid (and React, Svelte)

8 Upvotes

Animated components you install as source with the shadcn CLI. Same components in Solid, React and Svelte. https://mizzle.saddy.me


r/solidjs • • 11d ago

Build polished Stripe-style UIs in Solid + Tailwind

15 Upvotes

TL;DR: https://windframe.dev/styles/stripe

Hi everyone 👋

I’ve been experimenting with generating interfaces inspired by Stripe’s design taste, combining crisp typography, generous spacing and bold gradients to make complex products feel clear and polished.

I ended up building a UI system that makes it really easy to generate interfaces using this design style when prompted, and it does so consistently. It generates both full UIs and assets that match the Stripe's design style

I also put together a template built around this style that you can use directly in your Solidjs projects as starting points.
You can access the template here
https://windframe.dev/styles/stripe

I made this a selectable style option when generating UIs on Windframe, so that when you can choose this preset style it gives your Solidjs interfaces that clean, polished look.

If you’re not familiar with Windframe, it’s an AI visual editor that lets you generate polished UI with AI, tweak it visually in a canvas, and export clean production code in Solidjs (along with HTML, and other frameworks)

Appreciate any feedback or thoughts :)


r/solidjs • • 15d ago

Title: LinkedDataHub 6: the application is data

4 Upvotes

It's been a while since I posted about LinkedDataHub here. Version 6 is the biggest release since then: https://atomgraph.com/blog/linkeddatahub-6/

For anyone new to it: an application's domain model, forms, views, queries, charts and access rules are RDF documents. Its queries can run against the SPARQL endpoint your data already lives in. There is no application codebase. The same generic software runs every application, the way one browser reads every website.

  • Every document is a named graph, and the page's markup asserts the same graph the URL serves as Turtle. You can extract the RDFa and compare the two.
  • SPARQL selects the data and XSLT 3.0 renders it, on the server and in the browser (SaxonJS). There is no separate JavaScript front end.
  • With versioning on, every write is a git commit and history is served over Memento (RFC 7089). Writes to existing documents are conditional (If-Match).
  • Access control is WAC over the document hierarchy. Its model is formalised in Lean, and the server is tested against it.
  • Every dataspace serves /AGENTS.md, so an agent uses the same Linked Data interface as a person.

The architecture is ten years older than this release. It came out of Linked Data projects in different domains and finding out what they had in common. The releases leading up to 6 are where it got the tooling it had been missing.

It is open source (Apache 2.0): https://github.com/AtomGraph/LinkedDataHub

The current release is 6.4.0. There is no data migration from 5.x, but the namespaces moved: https://docs.linkeddatahub.com/reference/migrating-from-5x/

Two public sites run it: https://linkeddatahub.com/ and https://linkeddata.lt/, which connects Lithuanian public registers into a single knowledge graph.

The architecture is developed from existing Web standards in my book, First Principles of the Web, free to read: https://firstprinciplesoftheweb.org/

I'd be interested in where this architecture would or wouldn't fit the applications you're building.


r/solidjs • • 16d ago

Working on docs for Birchly

4 Upvotes

r/solidjs • • 18d ago

Solid 2 made my soul cry.

34 Upvotes

Hi everyone! I want to share my thoughts here and, if possible, hear from others in the community.

I don't actually follow updates about Solid.js, and today I saw that Solid.js v2 will no longer feature synchronous rendering, and I am deeply disappointed because of it.

We have a large admin panel built on Solid.js, and the reason we picked it is the most straightforward rendering across any other UI frameworks I've been working with, and now, in version 2, it is gone.

As for me, even with all the problems, synchronous rendering was a killer feature on the market, as it made the code as easy to read as possible; it helped us to deliver features faster, with far fewer bugs than you usually having in React.


r/solidjs • • 26d ago

Any news on SolidJS 2?

37 Upvotes

I know they’ve been releasing RC versions for a while but I was wondering how far we are from a production ready release.


r/solidjs • • 27d ago

Made a Countup.js library but for SolidJS

9 Upvotes

It's basically just the countup.js library but I rewrote it in SolidJS (It's not just a wrapper over the original library!) so it's reactive!

In theory, it should very closely resemble the original library with most features implemented correctly and about 3.3kB minified, relying heavily on Intl.NumberFormat for formatting.

Is the website pure AI slop? Yes. Is the test suite also AI slop? Yes. But is the actual code itself AI slop? No, it's pure human slop! Anyways just wanted to try my hands on writing a library and felt like sharing it with others. Feedback is always welcomed.

Website: https://solid-countup.d6f4e5.me/

Gitlab: https://gitlab.com/d6f4e5/solid-countup (Or github mirror https://github.com/d6f4e5/solid-countup )


r/solidjs • • 28d ago

Reactive HTML Plots (RHP) 2.0 update

Thumbnail
gallery
22 Upvotes

Hi everyone!

So almost a month ago, I made a post looking for people interested in contributing to the open-source visualization library that I am working on. This library uses SolidJS to construct charts using HTML elements, CSS, and JS (<- implied of course) rather than drawing everything in canvas or an SVG. Since that post, I have gotten into communication with two people who are working on important goals we are trying to achieve.

In this period, a lot of progress has been made on many fronts.

First, let me link the project (if you like it, give the repo a star!):

Rhp 2.0 released and has seen significant improvements since.

Performance is one of those areas. Out of the gate rhp 2.0 shows top-tier speeds when it comes to data updates -> chart visual response. It beats out most other charting libraries in this. For example, a changed value reaches the screen in about 1 to 2.5 ms in Chromium, against 12 ms for Recharts and 16 ms for Chart.js.

The weak point still remains the DOM and the slowdown you get when you have many DOM updates occurring at once. The good news is we have made significant progress in this. Rhp can now do 1,000 bars updating at the same time repeatedly at 30fps.

Large data scatter plots were also a pain point due to CSS being customizable for every Dot component which means a ton of style calculations when you have 10,000 Dot components changing. So I created a special ManyDots component that incorporates optimizations and breaks some rules specifically for this case. Styling is handled differently for this component to achieve 20fps for 10,000 changing "dots" which is about a 2-3x performance increase.

Im proud to say that now, overall, I think RHP 2.0 is pretty competitive against many of the best libraries out.

(if your charts have like 20,000 or more changing elements, its still best to go with a library that draws charts in Canvas)

RHP MCP Server and Agent skill released

I also released an MCP Server and Agent skill so you can have AI agents create charts with your data! I improved this greatly and it works beautifully. From my tests, this skill produces better looking, less buggy, more professional looking Charts out of the box than the Claude's built-in dataviz skill. It requires more prompting to get the same level of output using the dataviz skill than rhp. However, rhp uses about 50-70% more tokens on average. The main reason for this is that rhp has a built in checker that checks and corrects common issues in Charts that are generated and the output "artifact" is a bit more sophisticated. Without asking for anything specific, the rhp skill will produce an HTML that displays the interactive chart. This HTML has some bells and whistles including a download button that downloads the chart in its latest state as a png. It also has a fit to screen view that resizes the chart so it can be viewed in its entirety at once without scrolling.

Out of the box, rhp skill/mcp:

  • Produces more original and creative charts. What this means is that when you don't tell the agent how the chart should look (what layout, palette, chart type), the skill will produce a different looking chart (that still shows what you want to show) 3 out 4 times while the dataviz skill does so about 1 out of 4 times.
  • Produces charts that look more like an infographic.
  • Produces charts that adjust layout or orientation to suit different screen sizes better (like phone screens). The dataviz charts just zoom in/out.
  • Styles UI inputs/toggles/buttons in line with Chart theme and aesthetic. These elements don't give the feeling that the same component library was used.
  • Packages the chart in an HTML that is easy to repurpose and has a modern, clean and simple viewer interface.
  • Output artifact is smaller and contains less code.
  • 45 recipes to guide chart construction and can also be used as style references in prompts

Overall, you get more with less prompting. I have already used it to create Charts that reached the top of the infographics subreddit last week.

What we are still working on

  1. Improving Agent Skill cost efficiency. Basically, making it leaner. The goal is to bring it down to +30% the cost of just using the dataviz skill. At this point, I believe what rhp skill produces is well worth the difference. Even currently I think it is worth it...
  2. Making a framework agnostic version. A collaborator is working on this. The tricky part here is keeping our performance wins.
  3. Better landing page

r/solidjs • • Oct 07 '26

Melbourne Compose - Functional Programming in-person Meetup. Thurs Oct 15. Ben Hutchison on "VDOM or Not VDOM"

Thumbnail
reddit.com
8 Upvotes

r/solidjs • • Oct 01 '26

A cool framework-agnostic animation library for streaming

12 Upvotes

Hey all,

I’ve been working on a small library called Stream Morph.

The idea is to make streamed responses feel less like content is constantly being appended/re-rendered, and more like the response is gradually taking shape.

Demo: https://stream-morph.vercel.app/

It’s framework agnostic and can be used with any kind of streamed content. The demo includes plain text, Markdown, code blocks, charts, images, reasoning sections, Mermaid diagrams and a few more complex response flows.

The library handles the motion between updates, while your own renderer/app stays responsible for the actual content. So it isn’t tied to a specific AI SDK or framework.

A basic example looks roughly like this:

import { createStreamMorph } from "stream-morph";

const stream = createStreamMorph(response);

for await (const chunk of incomingStream) {
  stream.write(chunk);
}

stream.finish();

I mainly built it because I wanted streamed interfaces to feel a bit more intentional without having to build custom animation logic for every response type.

The package itself is already working and the demo is live. I’m still cleaning up some things around CI, tests and the repo setup, but the GitHub repository will be open sourced shortly as well.

Would be interested to hear what people think, especially about the animation behaviour/performance and any edge cases you’d expect from real streaming responses.


r/solidjs • • Sep 30 '26

What's the equivalent of next and sveltekit for solid?

13 Upvotes

I want to build static site generation.


r/solidjs • • Sep 28 '26

Need a serious contributor to work with me on my open-source data visualization library

35 Upvotes

Hi guys,

I am looking for someone to work with me on a project called rhp (2.0) that has gotten pretty large in size. It is a solid-native charting/plotting library designed for web infographic-style data visualizations. Styling and interactivity were key to the tech stack choice and why I avoided SVG or Canvas for creating plots. This project was inspired by several beautiful and highly interactive hand-made (hard-coded) graphs and charts I found on a few websites I visited.

What I need help with

I need help revamping rhp-home which I now want to be the "product"-style landing page (even though this library is free and open-source). The current landing page can be repurposed somewhat but it still needs to be built out to sell people on using the library. We also need to work on framework ports or making rhp framework agnostic. Currently, I managed to get rhp 2.0 working server-side (again) and I created a react wrapper port. I want real ports because users of each framework need to be able to build their own plots without knowing solidjs.

I also need help finding and adding support/examples for other types of plots where data and information can be grouped together visually (for example, each data value has an associated image and labels and area in chart).

Also, I am evaluating a possible upgrade to Solid 2.0. I think its too early atm but if there are performance gains or other things that benefit this project, it is worth considering.

I also want to work on AI agent adaptors or mcp servers that allow agents to create these plots using the library (while at the same time, keeping developers as first class users).

Overall, rhp performs pretty well compared to many other libraries. It's of course slower than the fastest SVG and Canvas plotting libraries but thats expected given DOM and CSS which I do not want to give up (they are core features of the library). It's also pretty light-weight.

(below is extra info...its a long read)

---

Background to explain the current state of project

A long time ago (3 years ago) I created rhp which used to be short for react html plots. rhp (now called reactive html plots) is a charting library that is designed for creating interactive, dynamic, and visual infographic-type plots. Especially the types that are structured a certain way.

Obviously, I built rhp 1.0 using react and for multiple reasons such as size of user base. However, I over complicated and over-engineered the hell out of it. It was a mess because of two conflicting/competing directions I was trying to aim it towards. It was a mess but I learned a whole lot. I tried to force signal behavior and fine-grained reactivity in react to get better performance when data changes and even created a mini serializable virtual-dom. The pain of trying to squeeze performance and make it usable taught me what I should have done and how I should have built things from the start. Lessons learned. I got it working and performing ok but I was not satisfied with many things so I never promoted it. Anyways, I paused the project and put a disclaimer that I intended to revamp the whole thing.

I attempted a reworking a year later but it was a huge undertaking and stopped midway into refactoring and moving the project over to using solidjs instead of react.

Recently, thanks to AI and additional things I learned to keep in mind from my refactor, I was able to rebuild this project! Thanks to all of my notes and all of my existing code (that I coded prior to AI boom) I was able to give AI agents everything they needed and the correct instructions and specs to get this project as close to how I wanted it as I could. There were even additional places for performance improvements I was able to find thanks to Opus 5.5's performance testing approaches.

I wanted to talk about AI's involvement for transparency reasons and to make it clear that rhp 2.0 is currently an AI assisted project. However, the original code that the AI worked with and took from was all mine. Most of the endeavor was telling AI what I wanted it to strip out and explaining why I did certain things so it is aware of my goal and does not copy over things that no longer suit our goal or are superfluous/redundant. And also simplification and reorganization (reducing the number of blocks and their complexity..ie reducing excessive configurability).

More about RHP 2.0

rhp expects devs to code the CSS to style the chart themselves. Or grab styles from someone else's plot. Plot layout is simplified by reducing to the common denominator (a template component that we call a 'slat') which is built using a small number of building blocks. The result is that even if your plot layout is sightly different from someone else's, it is easy to adapt their CSS to work with yours. Sometimes it will be just plug n' play. This is explained in more detail in the docs.

EDIT:

If you see stutters in the video, it's something that resulted in the upload to reddit. There are no stutters in the actual video or the transitions/animations in the plots (that I can see).


r/solidjs • • Sep 25 '26

I made a route progress bar for Solid Router

Thumbnail
solid-route-progress.vercel.app
32 Upvotes

I built a route progress bar for Solid Router, since I couldn't find one for my SolidStart app.

  • SSR support
  • Full-page navigations via the Navigation API
  • Styling with CSS variables or Tailwind CSS v4
  • ~2.8 KB, no dependencies

demo: https://solid-route-progress.vercel.app/

https://stackblitz.com/github/kecan0406/solid-route-progress/tree/main/examples/solidstart?file=src%2Fapp.tsx

github: https://github.com/kecan0406/solid-route-progress

Feedback welcome, especially on any edge cases I missed!