React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to (SKILL.md metadata excerpt)
Create a React component using the Container/Presentation pattern in src/components by asking for the component name and type (Publisher-index excerpt; file read separately)
Provides exact patterns for diagnosing and fixing automatic batching regressions in React 18 class components. Use this skill (Publisher-index excerpt; file read separately)
Provides the complete migration pattern for React legacy context API (contextTypes, childContextTypes, getChildContext) to the modern createContext API. (Publisher-index excerpt; file read separately)
Provides exact before/after migration patterns for the three unsafe class component lifecycle methods - componentWillMount, componentWillReceiveProps, and componentWillUpdate (Publisher-index excerpt; file read separately)
Provides exact migration patterns for React string refs (ref="name" + this.refs.name) to React.createRef() in class components. Use this (Publisher-index excerpt; file read separately)
Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates. (Publisher-index excerpt; file read separately)
Provides before/after patterns for migrating test files to React 19 compatibility, including act() imports, Simulate removal, and StrictMode (Publisher-index excerpt; file read separately)