Skip to content

Commit d2edc93

Browse files
authored
feat: first draft of tanstack-start-solid-v2 (#817)
1 parent 2a970f3 commit d2edc93

File tree

3 files changed

+78
-2
lines changed

3 files changed

+78
-2
lines changed
2.41 MB
Loading
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: 'Solid 2.0 Beta Support in TanStack Router, Start, and Query'
3+
published: 2026-04-10
4+
excerpt: TanStack Router, Start, and Query now support the Solid 2.0 beta, so you can try Solid's next major release in real applications today.
5+
authors:
6+
- Brenley Dueck
7+
- Birk Skyum
8+
---
9+
10+
![Solid 2.0 Beta Support in TanStack Router, Start, and Query](/blog-assets/tanstack-start-solid-v2/header.png)
11+
12+
Today we're excited to announce Solid 2.0 beta support in TanStack Router, Start, and Query!
13+
14+
Solid 2.0 introduces major changes to async rendering, derived state, and SSR. We wanted to make sure you could try those changes in real applications right away, not just isolated demos. If you're evaluating Solid 2.0 and want routing, server rendering, and data fetching ready to go, you can start today.
15+
16+
## Get Started Today
17+
18+
You can get started in one of two ways:
19+
20+
- Start from one of our [Solid examples](https://github.com/TanStack/router/tree/solid-router-v2-pre/examples/solid)
21+
- Upgrade an existing TanStack Router or TanStack Start app using the beta versions below
22+
23+
If you're upgrading an existing app, update these dependencies first:
24+
25+
<!-- ::start:tabs variant="package-manager" mode="install" -->
26+
27+
solid: @tanstack/solid-router@^2.0.0-beta.11 @tanstack/solid-start@^2.0.0-beta.12 @tanstack/solid-router-devtools@^2.0.0-beta.8 solid-js@^2.0.0-beta.5 @solidjs/web@^2.0.0-beta.5
28+
29+
<!-- ::end:tabs -->
30+
31+
<!-- ::start:tabs variant="package-manager" mode="dev-install" -->
32+
33+
solid: vite-plugin-solid@^3.0.0-next.4
34+
35+
<!-- ::end:tabs -->
36+
37+
If you use TanStack Query, also add:
38+
39+
<!-- ::start:tabs variant="package-manager" mode="install" -->
40+
41+
solid: @tanstack/solid-query@^6.0.0-beta.3 @tanstack/solid-query-devtools@^6.0.0-beta.3 @tanstack/solid-router-ssr-query@^2.0.0-beta.12
42+
43+
<!-- ::end:tabs -->
44+
45+
The TanStack APIs are mostly unchanged. The main breaking changes come from Solid 2.0 itself, so if you're upgrading an existing Solid app, read the official [Solid 2.0 migration guide](https://github.com/solidjs/solid/blob/next/documentation/solid-2.0/MIGRATION.md).
46+
47+
## Why This Matters
48+
49+
Solid 2.0 is more than a version bump. It opens up patterns that were awkward or impossible to express cleanly before, especially around async behavior, derived state, and SSR.
50+
51+
That matters most in larger applications, where routing, loading states, and server rendering carry real weight. TanStack Router and TanStack Start are a natural fit there, and we wanted Solid users to be able to explore the new release now instead of waiting for app-level tooling to catch up.
52+
53+
Some of the highlights in Solid 2.0 include:
54+
55+
- Fine-grained non-nullable async
56+
- Mutable derivations
57+
- Derived signals
58+
- Pull-based run-once SSR
59+
- Pending UI as an expression
60+
61+
If you want to dig deeper into the release itself, check out the [Solid 2.0 beta discussion](https://github.com/solidjs/solid/discussions/2596) and the [Road to 2.0 discussion](https://github.com/solidjs/solid/discussions/2425).
62+
63+
## Still Early — We Want Your Feedback
64+
65+
This support is intentionally early. We'd rather put Solid 2.0 support in your hands while the beta is still evolving than wait until every edge case is polished.
66+
67+
We plan to track Solid core closely from beta to RC to stable, so TanStack Router, Start, and Query stay aligned throughout the 2.0 rollout.
68+
69+
If you try TanStack Router, Start, or Query with Solid 2.0 beta, tell us what works, what feels rough, and where the integration breaks down. That feedback will help us tighten things up quickly.
70+
71+
[Join the Discord](https://tlinz.com/discord) and tell us what worked, what felt rough, and what you'd like to see next.

src/components/markdown/PackageManagerTabs.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,14 @@ export function PackageManagerTabs({
5252
'react') as Framework
5353

5454
const normalizedFramework = actualFramework.toLowerCase()
55-
const packageGroups = packagesByFramework[normalizedFramework]
55+
const fallbackFramework = Object.keys(packagesByFramework).find(
56+
(framework) => packagesByFramework[framework]?.length,
57+
)
58+
const packageGroups =
59+
packagesByFramework[normalizedFramework] ||
60+
(fallbackFramework ? packagesByFramework[fallbackFramework] : undefined)
5661

57-
// Hide component if current framework not in package list
62+
// Fall back to the first available framework so single-framework content still renders.
5863
if (!packageGroups || packageGroups.length === 0) {
5964
return null
6065
}

0 commit comments

Comments
 (0)