github avatar

React19 Concurrent Patterns

This is the boring but essential companion to your React 19 migration. It keeps you from accidentally breaking the concurrent patterns you already have working (useTransition, useDeferredValue, Suspense) while the main migration rewrites forwardRef and defaultProps. The skill splits cleanly into preserve versus adopt: leave your React 18 concurrent code completely untouched during migration, then consider the new APIs like use() and useOptimistic afterward. The grep command at the end is genuinely useful for verifying the migrator didn't mess with your transition logic. If you're migrating a codebase that already leans on concurrent features, this prevents painful regressions.

skills.sh installs
1.1K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill react19-concurrent-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

React 19 Concurrent Patterns

React 19 introduced new APIs that complement the migration work. This skill covers two concerns:

  1. Preserve existing React 18 concurrent patterns that must not be broken during migration
  2. Adopt new React 19 APIs worth introducing after migration stabilizes

Part 1 Preserve: React 18 Concurrent Patterns That Must Survive the Migration

These patterns exist in React 18 codebases and must not be accidentally removed or broken:

createRoot Already Migrated by the R18 Orchestra

If the R18 orchestra already ran, ReactDOM.render → createRoot is done. Verify it's correct:

// CORRECT React 19 root (same as React 18):
import { createRoot } from 'react-dom/client';
const root = createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);

useTransition No Migration Needed

useTransition from React 18 works identically in React 19. Do not touch these patterns during migration:

// React 18 useTransition  unchanged in React 19:
const [isPending, startTransition] = useTransition();

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Frontend Development, Git & Pull Requests, AI & Agent Building
First seen
May 16, 2026

More from github/awesome-copilot

All 318
1niaka3dayo avatarunity-vrc-udon-sharpniaka3dayo/agent-skills-vrc-udonUdonSharp scripting skill for SDK 3.7.1-3.10.4. Use when writing, reviewing, debugging, or migrating UdonSharp C# and UdonBehaviour code. Positive triggers incl1.1Kskills.sh installs
2phaserjs avatarv4-new-featuresphaserjs/phaserUse this skill when learning about new features, game objects, components, and rendering capabilities added in Phaser 4. Covers Filters, RenderNodes, CaptureFra1.1Kskills.sh installs
3asyrafhussin avatarlaravel-owasp-securityasyrafhussin/agent-skillsOWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", 1.1Kskills.sh installs
4niaka3dayo avatarunity-vrc-world-sdk-3niaka3dayo/agent-skills-vrc-udonVRChat World SDK 3 guide for scene and Inspector setup, component placement, optimization, and upload. Use for VRChat world scene configuration, VRC SDK compone1.1Kskills.sh installs
5openai avatardevelop-web-gameopenai/skillsUse when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based1.1Kskills.sh installs
6kostja94 avatarlistkostja94/marketing-skillsWhen the user wants to design, optimize, or audit list layouts for content display. Also use when the user mentions "list layout," "list design," "vertical list1.1Kskills.sh installs