react18-lifecycle-patterns
SkillAbout
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 fixing React 18 UNSAFE_ lifecycle warnings. Always use this skill before writing any lifecycle migration code - do not guess the pattern from memory, the decision trees here prevent the most common migration mistakes.
Capabilities
The crawler did not record capability metadata for this resource. Inspect the endpoint
directly to see what it exposes.
Provenance
Discovered Relayed by agntcy
URN authority urn:air:outshift.io:agntcy:react18-lifecycle-patterns
Catalog host outshift.io
Anchor check Not anchored
Last crawled seen 5h ago