Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak language in the welcome guide #3492

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

sodapopcan
Copy link
Contributor

This commit makes some small tweaks to the language used in the welcome guide, specifically under the "Compartmentalize state, markup, and events" section. The primary goal is to be a little more explicit when talking about function components vs live components vs nested LiveViews. There are a few small grammar tweaks as well as renaming a lone reference to "functional components" to "function component." I've always been a bit confused as to the proper name but it seems that it's "function component" everywhere except this one place. There is actually one more place but it's in the changelog and it feels odd changing that—I can, though!

Question: should LiveComponent always be written like that when not explicitly talking about the module, or is "live component" the right way? I went with the former since LiveView is always spelled like that.

* Change language to be a bit more explicit
* Change an instance of "functional component" to "function component"
Oops, thanks!

Co-authored-by: Dave Lucia <dave@tvlabs.ai>
@Gazler Gazler merged commit bc52c58 into phoenixframework:main Nov 11, 2024
7 checks passed
@Gazler
Copy link
Member

Gazler commented Nov 11, 2024

Thanks <3

@sodapopcan sodapopcan deleted the sodapopcan-guide-tweaks branch November 13, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants