用170行代码重新实现了 React.js,玩具版。wheel.js
发布于 9 年前 作者 srcjz 4010 次浏览 最后一次编辑是 8 年前 来自 分享

最基本的功能都有。

var HelloMessage = wheel.newClass({
    jml: function(){
        return ["div","Hello, ", this.nodes.join(", "), "!"];
    }
});
wheel.renderFor("content", [HelloMessage,"World"]);

地址: https://github.com/srcjz/wheel.js

4 回复

名字起得很有意思

轮子咯 自豪地采用 CNodeJS ionic

回到顶部