Flat:Type基于TypeScript的轻量级MVVM框架

时间:2021-05-06 19:13:04
【文件属性】:
文件名称:Flat:Type基于TypeScript的轻量级MVVM框架
文件大小:448KB
文件格式:ZIP
更新时间:2021-05-06 19:13:04
react javascript diff typescript vue Flat A lightweight MVVM framework base on TypeScript. Flat Flat is a lightweight MVVM framework base on TypeScript, and flat can provide more possibilities in your project. Render 在执行 render 的时候,会将所有的数组抽成扁平,flat 会认为,children 就只有 Text 节点和 _Elememt 节点,相对来说,抽成扁平,在性能上也会得到提升。 为了能精确定位到更新的元素,在 Component 的原型上附加了类型为 symbol 的 _key,用来唯一标识一个组件 不必关心节点的 key, flat 在初次解析的时候,附加了 component 的 key,key 用了 Symbol 类型,为了
【文件预览】:
Flat-refactor
----yarn.lock(233KB)
----src()
--------utils()
--------index.ts(859B)
--------core()
--------directives()
--------typings()
----.vscode()
--------launch.json(279B)
--------extensions.json(286B)
--------settings.json(345B)
--------tasks.json(295B)
----doc()
--------mini-logo.png(3KB)
--------flat-bind.gif(1.49MB)
--------logo.png(15KB)
----example()
--------index.html(343B)
--------src()
--------tsconfig.json(352B)
----tsconfig.json(398B)
----LICENSE(1KB)
----README.md(6KB)
----prettier.config.js(54B)
----.gitignore(40B)
----package.json(555B)

网友评论