Do not use built-in or reserved HTML elements as component id article
Using built-in or reserved HTML elements as component ids is not recommended because it can lead to confusion and conflicts with existing HTML semantics and functionality.
For example, if you use "article" as a component id and also have an HTML
To avoid this, it is best to choose unique and descriptive names for component ids that do not clash with existing HTML elements or reserved keywords. This helps in ensuring code clarity, maintainability, and avoids any unintended side effects
原文地址: https://www.cveoy.top/t/topic/iAWM 著作权归作者所有。请勿转载和采集!