You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix typo and broken links in versions.md and legacy.md
- Corrected typo "Specificaion" → "Specification" in versions.md
- Fixed broken links (double slash) in legacy.md pointing to https://18.react.dev/reference/
- All changes are low-risk, improve documentation clarity, and do not touch React engine code
Copy file name to clipboardExpand all lines: src/content/reference/react/legacy.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ These APIs are exported from the `react` package, but they are not recommended f
28
28
These APIs were removed in React 19:
29
29
30
30
*[`createFactory`](https://18.react.dev/reference/react/createFactory): use JSX instead.
31
-
* Class Components: [`static contextTypes`](https://18.react.dev//reference/react/Component#static-contexttypes): use [`static contextType`](#static-contexttype) instead.
32
-
* Class Components: [`static childContextTypes`](https://18.react.dev//reference/react/Component#static-childcontexttypes): use [`static contextType`](#static-contexttype) instead.
33
-
* Class Components: [`static getChildContext`](https://18.react.dev//reference/react/Component#getchildcontext): use [`Context`](/reference/react/createContext#provider) instead.
34
-
* Class Components: [`static propTypes`](https://18.react.dev//reference/react/Component#static-proptypes): use a type system like [TypeScript](https://www.typescriptlang.org/) instead.
35
-
* Class Components: [`this.refs`](https://18.react.dev//reference/react/Component#refs): use [`createRef`](/reference/react/createRef) instead.
31
+
* Class Components: [`static contextTypes`](https://18.react.dev/reference/react/Component#static-contexttypes): use [`static contextType`](#static-contexttype) instead.
32
+
* Class Components: [`static childContextTypes`](https://18.react.dev/reference/react/Component#static-childcontexttypes): use [`static contextType`](#static-contexttype) instead.
33
+
* Class Components: [`static getChildContext`](https://18.react.dev/reference/react/Component#getchildcontext): use [`Context`](/reference/react/createContext#provider) instead.
34
+
* Class Components: [`static propTypes`](https://18.react.dev/reference/react/Component#static-proptypes): use a type system like [TypeScript](https://www.typescriptlang.org/) instead.
35
+
* Class Components: [`this.refs`](https://18.react.dev/reference/react/Component#refs): use [`createRef`](/reference/react/createRef) instead.
0 commit comments