Results 13 comments of question

页面渲染完成时间,是怎么计算得出的?谢谢!

![image](https://cloud.githubusercontent.com/assets/10190366/6147262/78f13dda-b230-11e4-8f67-92d0a3fb0bc8.png)

谢谢楼上的,感谢....

``` const pages = Taro.getCurrentPages(); const current = pages?.[pages?.length - 1]; const params = current.options || {}; ``` 目前我是这样拿的

最常见的就是,tab 切换,状态不一样,来回切换,不想切换回原来的tab 还显示loading

我大致你的意思,就是如果有四个tab ,那么就应该有四个tab content 然后,隐藏或者展示,是这样吗?

我们因为有一些特殊的逻辑,需要提升content 类容的hook, 比如在tab 上显示数据count 的 badge, 所以tab只用header,并没有用内容缓存,所以就很需要这种 动态的cache key 和 react query 那种key 加查询参数 生成一个 cache 的功能

这个问题依然存在,还都是android ![image](https://github.com/NervJS/taro/assets/10190366/383a26e9-af62-4a7c-a4a3-d2fac44637ea)

``` compile: { include: [(modulePath) => /node_modules|monoRepo/.test(modulePath)], } ``` 引用的monoRepo 也要加到编译里