Zack Young
Zack Young
昨天写了个比较简单的基于 ts-simple-ast 的原型,以及一个类型生成脚本, 代码很粗放,也没做严格的测试,可供参考, 时间有限就懒得提 pr 了。。 🤦♂️ 目前功能很简单,只支持把 `src/**/*.tsx` 文件编译成对应的 `src/**/*.wxml`, 由于minapp 不支持扩展,不能移除 tsx 代码, 所以 tsx 文件只能作为单独的文件存在,不打包进去就不会影响了. 支持的功能有: * jsx 属性和插值语法替换成 wxml 的属性和插值语法 * 自定义组件编译成模版以及将 自定义组件的 import 编译成模版的...
@qiu8310 https://github.com/zaaack/tsx2wxml
新上传的这个修了些 bug, 直接看新的 repo 就好了。
Looks wsl support gui recently https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
At the very beginning I implemented Reactive Component only for ui components which only contains small UI state that I don't want to put in global state, so Elmish style...
I know react-sortable-hoc, but never use it before. I'm OK with the naming, but not sure about the details, it's a rare case for me, but it looks really useful.
The polyfills of polyfill.io are hosted on GitHub, if we know which part causes this maybe we can fix it in polyfill.io? https://github.com/Financial-Times/polyfill-service/blob/master/polyfills/Array/from/polyfill.js
Thanks for your attention. The original purpose of this library is based on hyperapp and try to follow the Elm's API as same as possible via TypeScript. There is no...
@RubyLouvre https://jsrun.net/ayXKp 打开控制台,选择 iframe, 可以发现 useEffect 内的异常会被吞掉,
求上 Typescript~