Point users to the npm page instead of the github project for prop-types (#9373)
Aaron Ackerman committed
Apr 7, 2017 at 22:05 UTC
d3d4b599b9da62178a5cfad621f815ff5127e4cb
1 file changed
+1
-1
docs/docs/typechecking-with-proptypes.md
+1
-1
@@ -7,7 +7,7 @@ redirect_from:
7
---
8
9
> Note:
10
-> `React.PropTypes` is deprecated as of React v15.5. Please use [the `prop-types` library instead](https://github.com/aackerman/PropTypes).
10
+> `React.PropTypes` is deprecated as of React v15.5. Please use [the `prop-types` library instead](https://www.npmjs.com/package/prop-types).
11
12
As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like [Flow](https://flowtype.org/) or [TypeScript](https://www.typescriptlang.org/) to typecheck your whole application. But even if you don't use those, React has some built-in typechecking abilities. To run typechecking on the props for a component, you can assign the special `propTypes` property:
13