<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai" -->

---
title: Client-side Routing without the JavaScript | daily.dev
description: Ryan Carniato details how SolidJS achieved client-side routing with minimal JavaScript through a combination of partial hydration, recursive Islands, and...
canonical: https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Client-side Routing without the JavaScript | daily.dev
og:description: Ryan Carniato details how SolidJS achieved client-side routing with minimal JavaScript through a combination of partial hydration, recursive Islands, and...
og:url: https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai
og:image: https://api.daily.dev/og/posts/cKaiDZwai.png
og:image:alt: Client-side Routing without the JavaScript
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Client-side Routing without the JavaScript

**[Playful Programming](https://daily.dev/sources/playfulprogramming)** · 7 min read · 0 upvotes · 0 comments

## Summary

Ryan Carniato details how SolidJS achieved client-side routing with minimal JavaScript through a combination of partial hydration, recursive Islands, and server-rendered HTML partials. The approach uses Solid's hierarchical hydration IDs and a NoHydration component to isolate server-only content, while a tiny event-delegation-based router fetches and swaps only the changed nested route segments via AJAX. A micromorph-based DOM diffing step preserves client state during refreshes. The result is a SPA-like experience with as little as ~5-13kb of JavaScript, dramatically less than Next.js, Nuxt, Angular, SvelteKit, or Lit equivalents.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://playfulprogramming.com/posts/client-side-routing-without-the-javascript-3k1i>

## Similar posts on daily.dev

- [Different hydration and rendering strategies](https://daily.dev/posts/different-hydration-and-rendering-strategies-uy1xqwg3n) · Neciu Dan · 46 upvotes · 3 comments
- [A Vanilla Routing Experiment](https://daily.dev/posts/a-vanilla-routing-experiment-lsxnwdz1j) · RUBYLAND · 0 upvotes · 0 comments
- [The Islands Architecture Is a Confession: If You Need Partial Hydration, You Already Lost](https://daily.dev/posts/the-islands-architecture-is-a-confession-if-you-need-partial-hydration-you-already-lost-jrrgq0kaw) · Medium · 1 upvotes · 0 comments
- [SPA vs server-side rendering: which should you choose?](https://daily.dev/posts/spa-vs-server-side-rendering-which-should-you-choose--umwwjmunl) · Flavio Copes · 29 upvotes · 2 comments
- [SolidJS Creator on Fine-Grained Reactivity as Next Frontier](https://daily.dev/posts/solidjs-creator-on-fine-grained-reactivity-as-next-frontier-howsh75d3) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#solidjs](https://daily.dev/tags/solidjs), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Client-side Routing without the JavaScript","url":"https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai"},"datePublished":"2026-03-16T21:47:09.833Z","dateModified":"2026-03-30T02:20:23.334Z","description":"Ryan Carniato details how SolidJS achieved client-side routing with minimal JavaScript through a combination of partial hydration, recursive Islands, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cfc5c0a4ad56e3d949e9e10e8e17eeee?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cfc5c0a4ad56e3d949e9e10e8e17eeee?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Playful Programming","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Playful Programming","logo":"https://media.daily.dev/image/upload/s--WoGOmY81--/f_auto,q_auto/v1773697582/logos/playfulprogramming?_a=BAMAMiiu0","url":"https://daily.dev/sources/playfulprogramming"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/client-side-routing-without-the-javascript-ckaidzwai","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"solidjs,webdev","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Playful Programming","item":"https://daily.dev/sources/playfulprogramming"},{"@type":"ListItem","position":3,"name":"Client-side Routing without the JavaScript"}]}
```

