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
Every single example in the Stimulus Reference documentation uses a simple, one-word controller name.
Half of the cost of writing stimulus code is making sure to get the conversions from snake_case to dasher-ized to camelCase correct on all of the data-attributes.
The documenation would be so much better if every example used a multi-word controller name so that the example JS and HTML would show how string conversions work.
The text was updated successfully, but these errors were encountered:
armchairdj
changed the title
Feature request: Better documentation
Feature request: Better documentation of conversions between camelCase, snake_case and dasher-ized
Dec 31, 2024
Every single example in the Stimulus Reference documentation uses a simple, one-word controller name.
Half of the cost of writing stimulus code is making sure to get the conversions from snake_case to dasher-ized to camelCase correct on all of the data-attributes.
The documenation would be so much better if every example used a multi-word controller name so that the example JS and HTML would show how string conversions work.
The text was updated successfully, but these errors were encountered: