From 33ed843abb5268743204982e6237a40715ea669d Mon Sep 17 00:00:00 2001 From: enzotar Date: Wed, 25 Feb 2026 07:54:43 -0800 Subject: [PATCH] docs: add router to DREAMSTACK.md features and comparison --- DREAMSTACK.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DREAMSTACK.md b/DREAMSTACK.md index 2950a3b..b6303fc 100644 --- a/DREAMSTACK.md +++ b/DREAMSTACK.md @@ -33,6 +33,7 @@ DreamStack is **real and running** — 6 Rust crates, 34 tests, 8 examples, ~7KB | Layout | Cassowary constraint solver | ✅ | | Types | `Signal`, `Derived` | ✅ Hindley-Milner | | Dev server | `dreamstack dev app.ds` | ✅ HMR | +| Router | `route "/path" -> body` / `navigate` | ✅ Hash-based | ### DreamStack vs React @@ -44,6 +45,7 @@ DreamStack is **real and running** — 6 Rust crates, 34 tests, 8 examples, ~7KB | Effects | Auto-tracked, algebraic | `useEffect(..., [deps])` manual | | Conditional | `when x -> text "y"` | `{x && y}` | | Lists | `for item in items -> ...` | `{items.map(i => ...)}` | +| Router | `route "/path" -> body` | `react-router` (external) | | Animation | Built-in springs | framer-motion (external) | | Layout | Built-in Cassowary | CSS only | | Types | Native HM, `Signal` | TypeScript (external) | @@ -62,7 +64,7 @@ DreamStack is **real and running** — 6 Rust crates, 34 tests, 8 examples, ~7KB ### Examples -`counter.ds` · `list.ds` · `todomvc.html` · `search.html` · `dashboard.html` · `playground.html` · `showcase.html` · `benchmarks.html` +`counter.ds` · `list.ds` · `router.ds` · `todomvc.html` · `search.html` · `dashboard.html` · `playground.html` · `showcase.html` · `benchmarks.html` ---