Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

async-react-best-practices

Étoiles0
Forks0
Mis à jour26 février 2026 à 06:24

Best practices for building applications with React 19's Async Transition model combined with TanStack Router and TanStack Query. Covers the "everything is a Transition" paradigm, Suspense architecture, component design patterns (Boundary vs Leaf components, Action Props, AsyncBoundary), state ownership decisions (server state vs URL state vs ephemeral state), useTransition with async functions, useOptimistic, data-pending visual feedback, and file-based routing directory structure with co-location. Use this skill when designing component architecture, deciding where state should live, structuring a TanStack Router project, building design system components that handle async operations, or writing any code that involves useTransition, Suspense boundaries, useOptimistic, or startTransition. This complements tanstack-query-best-practices (which covers Query-specific APIs like queryOptions, query key factories, mutations, and caching) by focusing on the broader React async architecture that Query operates within

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
2 fichiers
SKILL.md
readonly