From 0143f6ae9f73d03479abfeccf181508a53d9148c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Nov 2025 04:04:07 +0000 Subject: [PATCH] Reinforce that SPA routes work with rsx:debug in CLAUDE.dist.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/CLAUDE.dist.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/CLAUDE.dist.md b/docs/CLAUDE.dist.md index 4078b5ca6..36b1c11df 100644 --- a/docs/CLAUDE.dist.md +++ b/docs/CLAUDE.dist.md @@ -1070,6 +1070,8 @@ Screenshot presets: mobile, iphone-mobile, tablet, desktop-small, desktop-medium Use this instead of manually browsing, especially for SPA pages and Ajax-heavy features. +**CRITICAL: SPA routes ARE server routes.** The server knows all SPA routes. `rsx:debug` uses Playwright to fully render pages including all JavaScript and SPA navigation. If you get a 404, the route genuinely doesn't exist - check your URL pattern and route definitions. Never dismiss 404s as "SPA routes can't be tested server-side" - this analysis is incorrect. + ### Debugging - **rsx_dump_die()** - Debug output