Willyu1007 AI First Template Routing Guide

Routing Guide

tomevault-io Updated

File contents

Routing Guide

This skill provides routing patterns for frontend applications.


1. Principles

  • Keep routing structure predictable and discoverable.
  • Lazy-load route-level components when they are heavy.
  • Keep route params validated and typed where possible.

2. Nested routing (common pattern)

  • Prefer nested routes for step-by-step flows and detail pages.
  • Keep shared layout components at a parent route level to avoid remount churn.

3. Links and navigation

  • Prefer declarative navigation (<Link> components) over imperative navigation when possible.
  • Ensure active states and breadcrumbs are consistent (if used).

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/willyu1007--ai-first-template--routing-guide commit 3b0a6a479d

Frequently asked questions

npx skillmds@latest add tomevault-io/willyu1007-ai-first-template-routing-guide