Skip to content

Commit e864607

Browse files
authored
Absolute link
1 parent ab436cc commit e864607

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/docs/context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Accepts a `value` prop to be passed to Consumers that are descendants of this Pr
6969

7070
A React component that subscribes to context changes.
7171

72-
Requires a [function as a child](/docs/render-props.html#using-props-other-than-render). The function receives the current context value and returns a React node. All consumers are re-rendered whenever the Provider value changes. Changes are determined by comparing the new and old values using the same algorithm as [`Object.is`](developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Description). (This can cause some issues when passing objects as `value`: see [Caveats](#caveats).)
72+
Requires a [function as a child](/docs/render-props.html#using-props-other-than-render). The function receives the current context value and returns a React node. All consumers are re-rendered whenever the Provider value changes. Changes are determined by comparing the new and old values using the same algorithm as [`Object.is`](//developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Description). (This can cause some issues when passing objects as `value`: see [Caveats](#caveats).)
7373

7474
> Note
7575
>
@@ -148,4 +148,4 @@ To get around this, lift the value into the parent's state:
148148
> Note
149149
>
150150
> React previously shipped with an experimental context API. The old API will be supported in all 16.x releases, but applications using it should migrate to the new version. The legacy API will be removed in a future major React version. Read the [legacy context docs here](/docs/legacy-context.html).
151-
151+

0 commit comments

Comments
 (0)