Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

React19 Source Patterns

  • 872 installs
  • 37.1k repo stars
  • Updated July 28, 2026
  • github/awesome-copilot

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

About

Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates. Reference for every source-file migration required for React 19. The react19-source-patterns skill documents workflows, constraints, and examples from SKILL.md for agent-assisted execution.

  • # React 19 Source Migration Patterns
  • Reference for every source-file migration required for React 19.
  • | Pattern | Action | Reference |
  • | `ReactDOM.render(...)` | → `createRoot().render()` | See references/api-migrations.md |
  • | `ReactDOM.hydrate(...)` | → `hydrateRoot(...)` | See references/api-migrations.md |

React19 Source Patterns by the numbers

  • 872 all-time installs (skills.sh)
  • +21 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #192 of 1,453 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

react19-source-patterns capabilities & compatibility

Capabilities
# react 19 source migration patterns · reference for every source file migration requir · | pattern | action | reference | · | `reactdom.render(...)` | → `createroot().rende
Use cases
documentation
From the docs

What react19-source-patterns says it does

Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.
SKILL.md
npx skills add https://github.com/github/awesome-copilot --skill react19-source-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs872
repo stars37.1k
Security audit3 / 3 scanners passed
Last updatedJuly 28, 2026
Repositorygithub/awesome-copilot

How do I apply react19-source-patterns using the workflow in its SKILL.md?

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

Who is it for?

Developers following the react19-source-patterns skill for the tasks it documents.

Skip if: Tasks outside the react19-source-patterns scope described in SKILL.md.

When should I use this skill?

User mentions react19-source-patterns or related triggers from the skill description.

What you get

Working react19-source-patterns setup aligned with the documented patterns and constraints.

  • React 19 migration patches
  • Updated root entry files
  • Removed-API replacement snippets

Files

SKILL.mdMarkdownGitHub ↗

React 19 Source Migration Patterns

Reference for every source-file migration required for React 19.

Quick Reference Table

PatternActionReference
ReactDOM.render(...)createRoot().render()See references/api-migrations.md
ReactDOM.hydrate(...)hydrateRoot(...)See references/api-migrations.md
unmountComponentAtNoderoot.unmount()Inline fix
ReactDOM.findDOMNode→ direct refInline fix
forwardRef(...) wrapper→ ref as direct propSee references/api-migrations.md
Component.defaultProps = {}→ ES6 default paramsSee references/api-migrations.md
useRef() no arguseRef(null)Inline fix add null
Legacy ContextcreateContext→ api-migrations.md#legacy-context
String refs this.refs.xcreateRef()→ api-migrations.md#string-refs
import React from 'react' (unused)RemoveOnly 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 built-in runtime checking from the React package the package itself remains valid.

Add this comment above any .propTypes block:

// NOTE: React 19 no longer runs propTypes validation at runtime.
// PropTypes kept for documentation and IDE tooling only.

Read the Reference

For full before/after code for each migration, read `references/api-migrations.md`. It contains the complete patterns including edge cases for forwardRef with useImperativeHandle, defaultProps null vs undefined behavior, and legacy context provider/consumer cross-file migrations.

Related skills

How it compares

Pick react19-source-patterns for React 19 API replacement snippets; use framework-specific upgrade guides when migrating Next.js or Remix routing layers beyond core React APIs.

FAQ

What does react19-source-patterns do?

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

When should I use react19-source-patterns?

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

Is react19-source-patterns safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.