Agent skill · Databases

react19-source-patterns

Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill react19-source-patterns --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/react19-source-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# React 19 Source Migration Patterns Reference for every source-file migration required for React 19. ## Quick Reference Table | Pattern | Action | Reference | |---|---|---| | `ReactDOM.render(...)` | → `createRoot().render()` | See references/api-migrations.md | | `ReactDOM.hydrate(...)` | → `hydrateRoot(...)` | See references/api-migrations.md | | `unmountComponentAtNode` | → `root.unmount()` | Inline fix | | `ReactDOM.findDOMNode` | → direct ref | Inline fix | | `forwardRef(...)` wrapper | → ref as direct prop | See references/api-migrations.md | | `Component.defaultProps = {}` | → ES6 default params | See references/api-migrations.md | | `useRef()` no arg | → `useRef(null)` | Inline fix add `null` | | Legacy Context | → `createContext` | [→ api-migrations.md#legacy-context](references/api-migrations.md#legacy-context) | | String refs `this.refs.x` | → `createRef()` | [→ api-migrations.md#string-refs](references/api-migrations.md#string-refs) | | `import React from 'react'` (unused) | Remove | Only if no `React.` usage in file | ## PropTypes Rule Do **not** remove `.propTypes` assignments. The `prop-types` package still works as a standalone validator. React 19 only removes the

What's inside
Steps it walks through
  1. Quick Reference Table
  2. PropTypes Rule
  3. Read the Reference
Ships with 1 file
  • references/api-migrations.md
More from awesome-copilot
All skills →
About this skill
What does the react19-source-patterns skill do?

Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.

How do I install it?

Run `npx skills add github/awesome-copilot --skill react19-source-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going