Inertia Rails Pages Page components, layouts, navigation, and client-side APIs. Before building a page, ask: - Does this page need a layout? → Use persistent layout (React: ; Vue: ; Svelte: module script export) — wrapping in JSX/template remounts on every navigation, losing scroll position, audio playback, and component state - Does UI state come from the URL? → Change BOTH controller (read , pass as prop) AND component (derive from prop, no / ) — use to update URL - Need to refresh data without navigation? → — never + - Need to update a prop without server round-trip? → — no fetch, no reloa…