omnis
omnis
帮忙更新高阶函数那里的链接: - [节流函数](https://github.com/huyaocode/webKnowledge/blob/master/%E7%BC%96%E7%A8%8B%E8%83%BD%E5%8A%9B/%E7%BC%96%E7%A8%8B%E9%A2%98%E4%B8%8E%E5%88%86%E6%9E%90%E9%A2%98/%E9%98%B2%E6%8A%96%E8%8A%82%E6%B5%81.md#%E8%8A%82%E6%B5%81-throttle) - [柯里化(Currying)](https://github.com/huyaocode/webKnowledge/blob/master/%E7%BC%96%E7%A8%8B%E8%83%BD%E5%8A%9B/%E7%BC%96%E7%A8%8B%E9%A2%98%E4%B8%8E%E5%88%86%E6%9E%90%E9%A2%98/%E6%9F%AF%E9%87%8C%E5%8C%96.md) - [组合(Composing)](https://github.com/huyaocode/webKnowledge/blob/master/%E7%BC%96%E7%A8%8B%E8%83%BD%E5%8A%9B/%E7%BC%96%E7%A8%8B%E9%A2%98%E4%B8%8E%E5%88%86%E6%9E%90%E9%A2%98/compose.md) - [bind 的实现](https://github.com/huyaocode/webKnowledge/blob/master/%E7%BC%96%E7%A8%8B%E8%83%BD%E5%8A%9B/%E7%BC%96%E7%A8%8B%E9%A2%98%E4%B8%8E%E5%88%86%E6%9E%90%E9%A2%98/bind%E3%80%81apply%E5%AE%9E%E7%8E%B0.md)
> 也碰到同样的问题,报错内容类似这样: > > 同遇到这个问题,尝试定位这个`tmpl_0_true`的问题,这个`true`来自`item.nn`这个变量,而这个变量只要是设置了`compileMode`(即`compileMode: true`),它的值就会等于`true`。 这个`true`值在`packages/taro-runtime/src/hydrate.ts`这个文件里产生的。先是在[91行](https://github.com/NervJS/taro/blob/241dd8dcdffe6e3b88d272d96205397fa0be5c05/packages/taro-runtime/src/hydrate.ts#L91),给`compileModeName`赋值了`true`,然后在[122行](https://github.com/NervJS/taro/blob/241dd8dcdffe6e3b88d272d96205397fa0be5c05/packages/taro-runtime/src/hydrate.ts#L122)把这个`true`值给到了`nn`。 但是找了[3.x的taro代码](https://github.com/NervJS/taro/blob/23a7d495fe7146284b966261b015f8e6696934be/packages/taro-runtime/src/hydrate.ts#L115),这里看起来是没动过的,那可能是wxml生成的时候出了问题?
翻到了用于处理半编译的webpack插件 `packages/taro-webpack5-runner/src/plugins/MiniCompileModePlugin.ts` ,但是没看到vite这边有对应的插件,所以可能使用 vite 的都不支持半编译模式 :sob:
同遇到这个问题,https://github.com/NervJS/taro/issues/16989#issuecomment-2943258619
同遇到这个问题...