Does this (somewhat contrived) example follow the preferred naming convention for multiword controller, action, and target names?
<div data-controller="good-morning">
<input data-target="good-morning.firstName" type="text">
<button data-action="click->good-morning#meetAndGreet">Greet</button>
<span data-target="hello.output"></span>
</div>
// good_morning_controller.js
import { Controller } from "stimulus"
export default class extends Controller {
static targets = [ "firstName", "output" ]
meetAndGreet() {
this.outputTarget.textContent =
'Good morning, ${this.firstNameTarget.value}; nice to meet you!'
}
}