This is a suggestion to reduce the mental overhead of remembering which PropTypes have shorter names than the actual name, why is it only that func and bool have short names and not object -> obj or string -> str?
I'd like to understand the reasoning behind this decision and check what opinions other people have, personally I'd rather have long names for all PropTypes, have PropType.function instead of func and PropTypes.boolean instead of bool, would it be too crazy to suggest support for these?
This is a suggestion to reduce the mental overhead of remembering which PropTypes have shorter names than the actual name, why is it only that
func
andbool
have short names and notobject
->obj
orstring
->str
?I'd like to understand the reasoning behind this decision and check what opinions other people have, personally I'd rather have long names for all
PropTypes
, havePropType.function
instead offunc
andPropTypes.boolean
instead ofbool
, would it be too crazy to suggest support for these?