diff --git a/src/content/reference/react/Component.md b/src/content/reference/react/Component.md index 2509aa7598a..c1773d18b6c 100644 --- a/src/content/reference/react/Component.md +++ b/src/content/reference/react/Component.md @@ -1019,6 +1019,12 @@ Implementing `static getDerivedStateFromProps` in a class component is equivalen + + +**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. + + + --- ## Usage {/*usage*/}