What is the reason for recommendation for multi-word component names?

Posted by Jennifer | Updated on

Component names should always be multi-word, except for root level or built-in vue components(such as or etc). This recommendation is to prevents conflicts with existing and future HTML elements, since all HTML elements are a single word.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers