Loading...
Loading...
Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.
npx skill4agent add github/awesome-copilot react19-source-patterns| Pattern | Action | Reference |
|---|---|---|
| → | See references/api-migrations.md |
| → | See references/api-migrations.md |
| → | Inline fix |
| → direct ref | Inline fix |
| → ref as direct prop | See references/api-migrations.md |
| → ES6 default params | See references/api-migrations.md |
| → | Inline fix add |
| Legacy Context | → | → api-migrations.md#legacy-context |
String refs | → | → api-migrations.md#string-refs |
| Remove | Only if no |
.propTypesprop-types.propTypes// NOTE: React 19 no longer runs propTypes validation at runtime.
// PropTypes kept for documentation and IDE tooling only.references/api-migrations.mdforwardRefuseImperativeHandledefaultProps