Conduct props audit #712
abhishekashyap
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is to conduct a prop audit as and determine proper prop conventions or renames for the next major release.
Agenda/Open Questions
errorvsisErrorvshasError)Differentiating between nouns and adjectives named props
For numeric values, if the values begin with 0, we should probably suffix prop with
indexFor event handlers (onClick, onChange, etc), we should probably get rid of reccuring component name in the prop. For e.g. we have
onInputChangefor the Input component, ideally it should haveonChangefunction as the developer already knows it is an Input componentFor string-based props we can suffix the prop name with
textBeta Was this translation helpful? Give feedback.
All reactions