-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
disable recursive component lookup #1279
Comments
Nav is a native element. You shouldn't be using it as a component in the
|
I think I have in source once, where Vue checked if tag name is native HTML, before registering component.. I might be mistaking though. |
@azamat-sharapov it does, but I missed the new HTML5 ones... |
Closing because I think renaming is the obvious thing to do here: it's a good idea to avoid the ambiguity between "native element" vs "recursive calls". |
In 1.0.0, I find that if the component's name is defined, it will set itself into its
options.components
in implicit. So if I have a component namenav
and its template is<nav></nav>
, it will lead to max call size exceeded and there is no way to disable this behavior expect rename component's namenav
to others.The text was updated successfully, but these errors were encountered: