Skip to content

Commit 55035bb

Browse files
committed
fix(react-legacy-reference): normalize reference URL paths and correct render description
1 parent 7c90c6e commit 55035bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/content/reference/react/legacy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ These APIs are exported from the `react` package, but they are not recommended f
1919
* [`createRef`](/reference/react/createRef) creates a ref object which can contain arbitrary value. [See alternatives.](/reference/react/createRef#alternatives)
2020
* [`forwardRef`](/reference/react/forwardRef) lets your component expose a DOM node to parent component with a [ref.](/learn/manipulating-the-dom-with-refs)
2121
* [`isValidElement`](/reference/react/isValidElement) checks whether a value is a React element. Typically used with [`cloneElement`.](/reference/react/cloneElement)
22-
* [`PureComponent`](/reference/react/PureComponent) is similar to [`Component`,](/reference/react/Component) but it skip re-renders with same props. [See alternatives.](/reference/react/PureComponent#alternatives)
22+
* [`PureComponent`](/reference/react/PureComponent) is similar to [`Component`,](/reference/react/Component) but it skips re-renders with same props. [See alternatives.](/reference/react/PureComponent#alternatives)
2323

2424
---
2525

@@ -28,8 +28,8 @@ These APIs are exported from the `react` package, but they are not recommended f
2828
These APIs were removed in React 19:
2929

3030
* [`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

Comments
 (0)