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

组件的注册方式 #114

Open
shaodahong opened this issue Oct 25, 2018 · 1 comment
Open

组件的注册方式 #114

shaodahong opened this issue Oct 25, 2018 · 1 comment

Comments

@shaodahong
Copy link

组件是不是可以在渲染的时候去注册更适合写法,使用 @tag 注册时为了防止多次注册么

@dntzhang
Copy link
Collaborator

@tag 是为了少写几个字符,等同于 define(name, ctor)。渲染时注册做不到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants