yox icon indicating copy to clipboard operation
yox copied to clipboard

A lightweight mvvm framework

Results 4 yox issues
Sort by recently updated
recently updated
newest added

如果你正在使用 Yox,并且计划一直使用下去,请在此回复,格式如下: * Yox 版本:复制 Yox.version 字符串 * 是否为公司项目:是|否 * 是否会升级到最新版本:是|否 * 选择 Yox 的原因:简单说明一下咯 主要想了解有多少人真实在用 Yox,如果用的人多,以后的升级会重点考虑兼容性,如果使用的人少,则考虑最优设计。

以下内容所提及的改动,最多半年(截止2022-10-05),一定会改,本文只是说明为什么要做这件事。 ## 模板片段(子模板) 废弃模板片段已经预告很久了,至于当初为什么会引入它,很简单,因为借鉴的 RactiveJS 有这个特性,当时觉得好用,因此直接抄过来用。 如今看来,此特性非常鸡肋,用组件化完全可以代替它。 此外,我非常想用 `{{>xx}}` 语法来做一件别的事,下面会说,但是鉴于模板片段尚存,我不得不暂且搁置计划。 ## hasSlot 想在组件中判断外部是否传入了某个插槽,目前的写法是 `{{#if hasSlot('slotName')}}`。 这个写法有两个问题: 1. 必须内置一个全局过滤器 `hasSlot`,看起来不干净 2. 过滤器必须把 `this` 指向组件实例,否则 `hasSlot` 无法实现判断 因此,我希望在未来的版本中做两件事: 1. 删掉 `hasSlot` 2....

Hey there! I belong to an open source security research community, and a member (@yetingli) has found an issue, but doesn’t know the best way to disclose it. If not...

This seems like a great alternative to Vue. As a suggestion, it would be great if the documentation would be available in English.