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

 建议使用render函数+jsx方式来描述模板 #45

Open
hiyuki opened this issue Apr 7, 2017 · 1 comment
Open

 建议使用render函数+jsx方式来描述模板 #45

hiyuki opened this issue Apr 7, 2017 · 1 comment

Comments

@hiyuki
Copy link

hiyuki commented Apr 7, 2017

感觉当前labrador中的这个模板很鸡肋,大部分逻辑在children函数中定义,模板只是起到一个占位符的作用,与其这样不如直接改成render+jsx,更加靠拢react,然后通过vdom toString转为小程序的模板

@hiyuki
Copy link
Author

hiyuki commented Apr 7, 2017

以及当前的纯同步io编译是不是也能优化一下,目前的编译速度确实很慢

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

No branches or pull requests

1 participant