Dong Hongping

Results 29 comments of Dong Hongping

Directly callback with module is not accurate, perhaps it is better to wait for the current module's dependencies processing to be finished, and then invoke the outer callback such as...

In filesystem cache, the unused cache items are now splited to a new cache content file partially, perhaps we need a config to remove it, just like maxGenerations:1 works in...

冲突处理一下,以及和志鹏对一下分下工把ts定义补充上

我们近期提供一个母版,把基础的转换部分打上,之后你们就可以自行往里面添加规则来完善转换了

这个判断存在漏洞,subpackageModulesMap并不能代表真实的分包声明

能否提供一下简单的问题代码示例?

上述反馈的问题确实存在,不过该修复方式在一个组件中存在多个style内联模块时会出问题,已经通过 https://github.com/didi/mpx/commit/a7fd675d3e0f66a90c3153b71903b47067250be9 进行修复 感谢问题反馈及pr

目前的事件实现机制下暂不支持冒泡,后续我们会考虑重构事件机制以实现冒泡特性

这个和vue还不太一样,因为在mpx中模板渲染本身还是依赖微信,微信的wxml插值表达式中不支持的语法mpx也没有办法支持,不过在运行时架构(类似kbone或者taro next下)是可以支持,我们近期也会release局部运行时渲染的能力,届时在开启运行时渲染的组件中就可以使用类似功能。