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

[vue] 你有使用过render函数吗?有什么好处? #318

Open
haizhilin2013 opened this issue Jun 20, 2019 · 2 comments
Open

[vue] 你有使用过render函数吗?有什么好处? #318

haizhilin2013 opened this issue Jun 20, 2019 · 2 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] 你有使用过render函数吗?有什么好处?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 20, 2019
@dlutwuwei
Copy link

template也会翻译成render,只有一点,template中元素的tag_name是静态的,不可变化,使用createEelment可以生成不同tag_name, 比如h1 ... h6, 可以通过一个number变量控制

@censek
Copy link

censek commented Nov 18, 2019

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

No branches or pull requests

3 participants