passelin/marketplace-test/react19-source-patterns
Claude Code and agent skill by passelin/marketplace-test
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.
Install
npx vskill@latest install passelin/marketplace-test/react19-source-patternsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as github/awesome-copilot/react19-source-patterns.
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 | |
String refs this.refs.x | → createRef() | → 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 built-in runtime checking from the React package the package itself remains valid.
Add this comment above any .propTypes block:
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.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/react19-source-patterns/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/passelin/marketplace-test/react19-source-patterns)