Skip to content

Commit 2bd8ffa

Browse files
Brew-Brewgaearon
authored andcommitted
Fix Issue about addons.md's Wrong links (reactjs#1023)
* Edit addons.md's link to right link * Update addons.md
1 parent e41bfd7 commit 2bd8ffa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

content/docs/addons.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ permalink: docs/addons.html
1010
1111
The React add-ons are a collection of useful utility modules for building React apps. **These should be considered experimental** and tend to change more often than the core.
1212

13-
- [`createFragment`](create-fragment.html), to create a set of externally-keyed children.
13+
- [`createFragment`](/docs/create-fragment.html), to create a set of externally-keyed children.
1414

1515
The add-ons below are in the development (unminified) version of React only:
1616

17-
- [`Perf`](perf.html), a performance profiling tool for finding optimization opportunities.
18-
- [`ReactTestUtils`](test-utils.html), simple helpers for writing test cases.
17+
- [`Perf`](/docs/perf.html), a performance profiling tool for finding optimization opportunities.
18+
- [`ReactTestUtils`](/docs/test-utils.html), simple helpers for writing test cases.
1919

2020
### Legacy Add-ons
2121

2222
The add-ons below are considered legacy and their use is discouraged. They will keep working in observable future, but there is no further development.
2323

24-
- [`PureRenderMixin`](pure-render-mixin.html). Use [`React.PureComponent`](/docs/react-api.html#reactpurecomponent) instead.
25-
- [`shallowCompare`](shallow-compare.html), a helper function that performs a shallow comparison for props and state in a component to decide if a component should update. We recommend using [`React.PureComponent`](/docs/react-api.html#reactpurecomponent) instead.
26-
- [`update`](update.html). Use [`kolodny/immutability-helper`](https://github.com/kolodny/immutability-helper) instead.
27-
- [`ReactDOMFactories`](dom-factories.html), pre-configured DOM factories to make React easier to use without JSX.
24+
- [`PureRenderMixin`](/docs/pure-render-mixin.html). Use [`React.PureComponent`](/docs/react-api.html#reactpurecomponent) instead.
25+
- [`shallowCompare`](/docs/shallow-compare.html), a helper function that performs a shallow comparison for props and state in a component to decide if a component should update. We recommend using [`React.PureComponent`](/docs/react-api.html#reactpurecomponent) instead.
26+
- [`update`](/docs/update.html). Use [`kolodny/immutability-helper`](https://github.com/kolodny/immutability-helper) instead.
27+
- [`ReactDOMFactories`](https://www.npmjs.com/package/react-dom-factories), pre-configured DOM factories to make React easier to use without JSX.
2828

2929
### Deprecated Add-ons
3030

31-
- [`LinkedStateMixin`](two-way-binding-helpers.html) has been deprecated.
32-
- [`TransitionGroup` and `CSSTransitionGroup`](animation.html) have been deprecated in favor of [their drop-in replacements](https://github.com/reactjs/react-transition-group/tree/v1-stable).
31+
- [`LinkedStateMixin`](/docs/two-way-binding-helpers.html) has been deprecated.
32+
- [`TransitionGroup` and `CSSTransitionGroup`](/docs/animation.html) have been deprecated in favor of [their drop-in replacements](https://github.com/reactjs/react-transition-group/tree/v1-stable).
3333

3434
## Using React with Add-ons
3535

@@ -40,7 +40,7 @@ import createFragment from 'react-addons-create-fragment'; // ES6
4040
var createFragment = require('react-addons-create-fragment'); // ES5 with npm
4141
```
4242

43-
When using a CDN, you can use `react-with-addons.js` instead of `react.js`:
43+
When using React 15 or earlier from a CDN, you can use `react-with-addons.js` instead of `react.js`:
4444

4545
```html
4646
<script src="https://unpkg.com/react@15/dist/react-with-addons.js"></script>

0 commit comments

Comments
 (0)