TokenToSeaSkills Hub
中文 Console

React18 Lifecycle Patterns

GitHubOfficial

Provides exact before/after migration patterns for the three unsafe class component lifecycle methods - componentWillMount, componentWillReceiveProps, and componentWillUpdate - targeting React 18.3.1. Use this skill whenever a class component needs its lifecycle methods migrated, when deciding between getDerivedStateFromProps vs componentDidUpdate, when adding getSnapshotBeforeUpdate, or when…

Install

npx skills add github/awesome-copilot --skill react18-lifecycle-patterns