Skip to content

chore(demo): lazy-load vanilla SPA routes - #549

Merged
ghiscoding merged 1 commit into
mainfrom
chore/improve-spa
Oct 24, 2026
Merged

ghiscoding merged 1 commit into
mainfrom
chore/improve-spa

Conversation

@ghiscoding

Copy link
Copy Markdown
Owner

Summary

The Vanilla demo now loads each route’s HTML and view model when the route is visited. The SPA renderer handles view lifecycle, loading and error states, and ignores stale route loads after navigation changes.

Scope

Changes are confined to the demo SPA and its routing checks.

Validation

  • pnpm build:demo passed.
  • Routing Playwright checks passed (5 tests).

AI / LLM assistance

  • Used: Yes
  • Tool/model: Codex, GPT-6
  • Use: Adapted the demo renderer and lazy routing, and added browser checks.

@github-actions

Copy link
Copy Markdown

Playwright E2E Test Results

108 tests  +5   108 ✅ +5   1m 36s ⏱️ -1s
 77 suites +1     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d74fa2b. ± Comparison against base commit bb3190b.

@ghiscoding
ghiscoding merged commit 9c1ac02 into main Oct 24, 2026
4 checks passed
@ghiscoding
ghiscoding deleted the chore/improve-spa branch October 24, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant