Discourse Meta
是不是只有我觉得 Hyperscript 很丑?
开发
merefield
(Robert)
2019 年10 月 22 日 20:59
12
我尝试在部件中使用模板,但发现其用处有限,且似乎不支持辅助函数:
这很令人烦恼,因为这样一来,您就无法在代码库的其他地方重用现有的标准代码。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Using a hbs file as the template for widget
Development
3
1411
2019 年9 月 3 日
Modernizing inline script tags for templates & JS API
Development
dev-news
47
4567
2026 年3 月 25 日
JSX instead of h (createElement) function in widgets and other places
Development
14
1949
2020 年5 月 10 日
Is it better for Discourse to use JavaScript or CoffeeScript?
Development
56
66524
2022 年1 月 29 日
How different are Ember component and Discourse widget?
Development
3
1192
2020 年6 月 8 日