From 2df0f5af4d16c89399414b5f21e1e2ea1d4d233e Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 8 Jan 2018 13:23:54 -0600 Subject: [PATCH] Pedantic language change (#500) * Pedantic language change This page led to the creation of a bad question on a job interview test, leading someone to believe that functions and objects are primitives. They are not. https://developer.mozilla.org/en-US/docs/Glossary/Primitive * Verbiage change --- content/docs/typechecking-with-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/typechecking-with-proptypes.md b/content/docs/typechecking-with-proptypes.md index a0c55898..0dcc24b1 100644 --- a/content/docs/typechecking-with-proptypes.md +++ b/content/docs/typechecking-with-proptypes.md @@ -40,7 +40,7 @@ Here is an example documenting the different validators provided: import PropTypes from 'prop-types'; MyComponent.propTypes = { - // You can declare that a prop is a specific JS primitive. By default, these + // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool,