diff --git a/docs/typechecking-with-proptypes.html b/docs/typechecking-with-proptypes.html index 124a4fb121..5760421413 100644 --- a/docs/typechecking-with-proptypes.html +++ b/docs/typechecking-with-proptypes.html @@ -80,7 +80,7 @@
Note: -
+React.PropTypesis deprecated as of React v15.5. Please use theprop-typeslibrary instead.React.PropTypesis deprecated as of React v15.5. Please use theprop-typeslibrary instead.
As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like Flow or TypeScript 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: