Fix anchor links in reference-react documentation (#10975)
Eugene Zhlobo committed
Sep 30, 2017 at 04:44 UTC
81cf21c6d1bffe1f0b09d4c2a52c0fb19f40b59f
1 file changed
+5
-5
docs/docs/reference-react.md
+5
-5
@@ -22,8 +22,8 @@ redirect_from:
22
23
React components let you split the UI into independent, reusable pieces, and think about each piece in isolation. React components can be defined by subclassing `React.Component` or `React.PureComponent`.
24
25
- - [`React.Component`](#react.component)
26
- - [`React.PureComponent`](#react.purecomponent)
25
+ - [`React.Component`](#reactcomponent)
26
+ - [`React.PureComponent`](#reactpurecomponent)
27
28
If you don't use ES6 classes, you may use the `create-react-class` module instead. See [Using React without ES6](/docs/react-without-es6.html) for more information.
29
@@ -42,7 +42,7 @@ See [Using React without JSX](/docs/react-without-jsx.html) for more information
42
43
- [`cloneElement()`](#cloneelement)
44
- [`isValidElement()`](#isvalidelement)
45
-- [`React.Children`](#react.children)
45
+- [`React.Children`](#reactchildren)
46
47
* * *
48
@@ -66,7 +66,7 @@ See the [React.Component API Reference](/docs/react-component.html) for a list o
66
67
### `React.PureComponent`
68
69
-`React.PureComponent` is exactly like [`React.Component`](#react.component) but implements [`shouldComponentUpdate()`](/docs/react-component.html#shouldcomponentupdate) with a shallow prop and state comparison.
69
+`React.PureComponent` is exactly like [`React.Component`](#reactcomponent) but implements [`shouldComponentUpdate()`](/docs/react-component.html#shouldcomponentupdate) with a shallow prop and state comparison.
70
71
If your React component's `render()` function renders the same result given the same props and state, you can use `React.PureComponent` for a performance boost in some cases.
72
@@ -162,7 +162,7 @@ Invokes a function on every immediate child contained within `children` with `th
162
React.Children.forEach(children, function[(thisArg)])
163
```
164
165
-Like [`React.Children.map()`](#react.children.map) but does not return an array.
165
+Like [`React.Children.map()`](#reactchildrenmap) but does not return an array.
166
167
#### `React.Children.count`
168