Lightlines
By github

react18-lifecycle-patterns

github740 installs

Migrate React class lifecycles without guesswork.

What it does

Guides migration of three unsafe React class component lifecycle methods to React 18.3.1 patterns.

When to use it

Use when migrating unsafe class lifecycles, choosing replacement methods, adding snapshots, or fixing React 18 lifecycle warnings.

How to use it

It changes how the agent migrates React class lifecycles by requiring the relevant reference patterns before writing migration code.

What you provide

  • An existing project

Latest review

What you need · 1

The migration reference is for React class components and targets React 18.3.1.


Access · 0

No additional actions listed.