Skip to main content
Manusで任意のスキルを実行
ワンクリックで

async-react-best-practices

スター0
フォーク0
更新日2026年2月26日 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

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
2 ファイル
SKILL.md
readonly