You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Regular HTML attributes use alllowercase, but React converts multi-word attributes to camelCase. There are a few exceptions: class turns into className, for turns into htmlFor. In dcc we're thinking of converting everything to snake_caseplotly/dash-core-components#958 but in html we don't fully document these properties, just the prop names and basic description. The most natural place for users to look for the full documentation is however not React's docs but rather HTML reference sites like MDN so it feels like alllowercase would be more useful, and closer to the snake_case preferred by Python. We would still use snake for class_name and html_for.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Regular HTML attributes use
alllowercase
, but React converts multi-word attributes tocamelCase
. There are a few exceptions:class
turns intoclassName
,for
turns intohtmlFor
. Indcc
we're thinking of converting everything tosnake_case
plotly/dash-core-components#958 but inhtml
we don't fully document these properties, just the prop names and basic description. The most natural place for users to look for the full documentation is however not React's docs but rather HTML reference sites like MDN so it feels likealllowercase
would be more useful, and closer to thesnake_case
preferred by Python. We would still use snake forclass_name
andhtml_for
.The text was updated successfully, but these errors were encountered: