Solid 2.0 solidjs.com · 341 points · 108 comments · HN thread TL;DR Solid 2.0 re...

@best30

Solid 2.0 solidjs.com · 341 points · 108 comments · HN thread

TL;DR Solid 2.0 reaches stable after five years of work, with async built into the reactive graph, server functions that support RPC and Server-Sent Events, agent-oriented diagnostics, and a smaller API that removes createResource, createMutable and similar primitives. The release also retires the SolidStart metaframework in favor of framework-agnostic primitives. The HN thread is mostly interested in the agent framing, bundle size growth, and how Solid compares to React and Svelte.

  • Async is now part of the reactive graph: a computation can return a Promise or async iterator and downstream code handles it, with speculative state rolled back automatically.
  • Server functions moved into Solid core, supporting RPC over Request/Response and persistent connections over Server-Sent Events.
  • Development builds report reactive mistakes with stable codes, source location and fixes, including detection of waterfalls and fan-in/fan-out problems.
  • Many APIs are removed (createResource, batch, startTransition, on, produce, createComputed, createMutable), and the API surface is reduced across the board.
  • SolidStart is retired; the author argues core primitives plus framework-agnostic Vite plugins now cover what a metaframework needed.
  • The RC phase ran 23 release candidates over 14 weeks, with 971 pull requests merged and 753 issues closed before the stable bar was met.

Discussion The thread mixes praise for the project and its async design with skepticism about the heavy AI-oriented marketing language in the post and docs. A recurring theme is whether good diagnostics and strict guardrails are simply good practice for humans too, or whether frameworks should now be shaped around coding agents. Several commenters raise concrete concerns: the benchmark bundle size jump from about 4.8 KiB to 20.3 KiB brotli, the wording of the docs for broadcast and live, and the Vercel-related politics in a side discussion. The mood is mostly positive and curious, with a fair amount of irony about the project being named Solid.

  • Agent-friendly design is just good engineering for humans too (many): Commenters argue that strict errors, linters, and explicit constraints help both humans and agents, and that agents make teams enforce practices they previously skipped. Several describe writing more plans, todo files, and guardrails since using AI.
  • "Built for agents" is mostly marketing (some): Some see the agent framing as a trend where basic tools are rebranded for AI, such as Docker's tagline. Others note that the diagnostics in the post are ordinary debugging improvements.
  • Frameworks matter more, not less, with agents (some): Commenters respond to the claim that agents make frameworks unnecessary by pointing out that LLMs write more consistent code within well-defined patterns and that token costs and context limits favor good abstractions.
  • Bundle size increase is a serious regression (some): One benchmark shows a counter component growing from 4.8 KiB to 20.3 KiB brotli, and another user reports about 11.7 KB gzip added to an SDK. Commenters say this matters for some projects, though others consider it minor.
  • Async-in-graph approach is a real improvement (some): Commenters who know React Hooks and Suspense see the async graph as a way to avoid colored functions and waterfalls, and praise the composable design. Some see it as similar to existing Suspense patterns, which they dislike.
  • Docs and wording are hard to follow (a few): Readers report that the broadcast and live documentation reads like generated filler and is hard to parse, and that a reactive signals code read was unpleasant to one commenter.

Links from the comments

#SolidJS #reactivity #frontend #AIagents #webFrameworks