Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add naming requirement for outlet controller identifiers to docs#679

Merged
dhh merged 2 commits into
hotwired:mainfrom
dnlgrv:update-outlet-naming-documentation
May 29, 2023
Merged

Add naming requirement for outlet controller identifiers to docs#679
dhh merged 2 commits into
hotwired:mainfrom
dnlgrv:update-outlet-naming-documentation

Conversation

@dnlgrv
Copy link
Copy Markdown

@dnlgrv dnlgrv commented Apr 28, 2023

👋

Something we ran into when trying to use outlets was not noticing that the identifier used for the outlet must match the registered controller name exactly. This was also brought up in this issue. The fact that the naming convention for outlets is different to targets is another matter, and one which is being discussed (would be a great improvement).

I realise this seems to be one of many PRs related to improving the outlets documentation, so if it's one too many then feel free to close it, but this one sentence probably would have saved us some time (assuming we read it of course!).

@dhh dhh merged commit f781cd6 into hotwired:main May 29, 2023
AndersGM pushed a commit to AndersGM/stimulus that referenced this pull request Jun 16, 2023
…wired#679)

* Add naming requirement for outlet controller identifiers to docs

* Update outlets.md

---------

Co-authored-by: David Heinemeier Hansson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants