react-19
БесплатноБез исполняемых скриптовНе проверенUse when implementing React 19.3 patterns — use(), useOptimistic, useActionState, useEffectEvent, Activity, ViewTransition, Fragment refs, use(browser())…
Об этом скилле
Also documents all classic hooks (useState, useEffect, useLayoutEffect, useRef, useImperativeHandle, useMemo, useCallback, useId, useSyncExternalStore) and React 18→19 breaking changes (ref as a prop instead of forwardRef, <Context value={}> instead of <Context.Provider>). This is the core React hooks/features skill — for global state see react-state, for forms see react-forms, and for SOLID architecture rules see solid-react.
React 19.3 Core Features
Agent Workflow (MANDATORY)
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
- fuse-ai-pilot:explore-codebase - Analyze existing React patterns and component structure
- fuse-ai-pilot:research-expert - Verify latest React 19.3 docs via Context7/Exa
- mcp__context7__query-docs - Check use(), useOptimistic, useActionState, Activity patterns
After implementation, run fuse-ai-pilot:sniper for validation.
What's New in React 19.3
Stable in 19.3 (react/react-dom 19.3.0, 2026-09-09; current patch 19.3.1, 2026-10-14; @types/react 19.3 needs TypeScript ≥ 5.6):
| API | Purpose | Guide |
|---|---|---|
<ViewTransition> |
Animate enter/exit/update/share via the browser View Transition API | references/suspense-patterns.md |
addTransitionType(type) |
Tag a Transition to pick a different animation | references/suspense-patterns.md |
<Fragment ref> |
FragmentInstance (events, focus, observers) without a wrapper <div> |
references/ref-as-prop.md |
use(browser(reason?)) (react-dom) |
Browser-only rendering: suspends on the server, Suspense fallback in HTML | references/new-hooks.md |
Behaviour changes: Transitions no longer entangle, StrictMode double-invokes effects during hydration, DEV warning on conditional use() unblocking → references/migration-18-19.md.
RSC security: react-server-dom-* must be ≥ 19.2.4 (CVE-2025-55182 RCE and follow-up DoS CVEs); prefer ≥ 19.2.7 or 19.3.0.
New Hooks (19.0–19.2)
| Hook | Purpose | Guide |
|---|---|---|
use() |
Read promises/context in render | references/new-hooks.md |
useOptimistic |
Optimistic UI updates | references/new-hooks.md |
useActionState |
Form action state management | references/new-hooks.md |
useFormStatus |
Form pending state (child components) | references/new-hooks.md |
useEffectEvent |
Non-reactive callbacks in effects | references/new-hooks.md |
→ See references/new-hooks.md for detailed usage
Classic Hooks (React 18+)
State Hooks
| Hook | Purpose | Guide |
|---|---|---|
useState |
Local component state | references/use-state.md |
→ For global state, see react-state skill
Effect Hooks
| Hook | Purpose | Guide |
|---|---|---|
useEffect |
Side effects after paint | references/use-effect.md |
useLayoutEffect |
Sync DOM before paint | references/use-layout-effect.md |
Ref Hooks
| Hook | Purpose | Guide |
|---|---|---|
useRef |
DOM access, mutable values | references/use-ref.md |
useImperativeHandle |
Customize ref API | references/use-imperative-handle.md |
Performance Hooks (Rare with Compiler)
| Hook | Purpose | Guide |
|---|---|---|
useMemo |
Memoize expensive values | references/use-memo.md |
useCallback |
Memoize functions | references/use-callback.md |
→ React Compiler handles most memoization automatically
Other Hooks
| Hook | Purpose | Guide |
|---|---|---|
useId |
Unique IDs for accessibility | references/use-id.md |
useSyncExternalStore |
External store subscription | references/use-sync-external-store.md |
Custom Hooks
→ See references/custom-hooks-patterns.md for patterns
→ See references/templates/custom-hooks.md for implementations
Activity Component (stable since 19.2)
Hide/show components while preserving state:
<Activity mode={isActive ? 'visible' : 'hidden'}>
<TabContent />
</Activity>
→ See references/activity-component.md for patterns
React Compiler (1.0 stable, Oct 2025 — React 17+)
Automatic memoization - useMemo/useCallback mostly obsolete:
- Build-time optimization
- No more manual memoization in most cases
- 2.5× faster interactions reported
→ See references/react-compiler.md for details
Quick Ref
Установить react-19 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл react-19?
Use when implementing React 19.3 patterns — use(), useOptimistic, useActionState, useEffectEvent, Activity, ViewTransition, Fragment refs, use(browser()), React Compiler.
Как установить скилл react-19?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл react-19 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic