dillon1000/react

Commit

Update example snippet in old 'React.addons' doc page (#9363)

* Update example snippet in old 'React.addons' doc page

This makes the example more consistent.

* Add back the pointers in docs that were mistakenly removed

In https://github.com/facebook/react/pull/9359 we accidentally removed
pointers in some doc pages. Putting them back now.

* Link to npm package instead of github page

This seems like a more stable place to link to in the 'context'
document.
Based on @bvaughn's feedback in https://github.com/facebook/react/pull/9359
Browse files
Changed paths5 files
First-parent comparison
M docs/docs/addons.md ModifiedM docs/docs/components-and-props.md ModifiedM docs/docs/composition-vs-inheritance.md ModifiedM docs/docs/conditional-rendering.md ModifiedM docs/docs/context.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…