Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/content/reference/react/Component.md
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,12 @@ Implementing `static getDerivedStateFromProps` in a class component is equivalen

</Note>

<Note>

**Note:** The `static getDerivedStateFromProps` method can also be used with components created via the `createClass` API (using the [`create-react-class`](https://www.npmjs.com/package/create-react-class) package). This allows legacy codebases to adopt the newer lifecycle pattern.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mention of legacy create-react-class and getDerivedStateFromProps feels out of scope for modern Hooks-based guidance. To directly address #8226, we should instead focus the example on the core distinction: using an Effect for Initial Sync versus an Event Handler for Pagination. This keeps the mental model clean and relevant.


</Note>

---

## Usage {/*usage*/}
Expand Down