Skip to content

Commit

Permalink
Link to npm package instead of github page
Browse files Browse the repository at this point in the history
This seems like a more stable place to link to in the 'context'
document.
Based on @bvaughn's feedback in facebook#9359
  • Loading branch information
flarnie committed Apr 7, 2017
1 parent f2496bd commit 3576441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: docs/context.html
---

>Note:
> As of React v15.5 the `React.PropTypes` helper is deprecated, and we recommend using the [`prop-types` library](https://github.com/aackerman/PropTypes) to define `contextTypes`.
> As of React v15.5 the `React.PropTypes` helper is deprecated, and we recommend using the [`prop-types` library](https://www.npmjs.com/package/prop-types) to define `contextTypes`.
With React, it's easy to track the flow of data through your React components. When you look at a component, you can see which props are being passed, which makes your apps easy to reason about.

Expand Down

0 comments on commit 3576441

Please sign in to comment.