砖家

Results 134 comments of 砖家

> What's the status of this task? The current version does not support suspense, we will support it later when Suspense is stable.

> > > What's the status of this task? > > > > > > The current version does not support suspense, we will support it later when Suspense is...

能描述下具体解决了什么问题么。 类似:https://github.com/alibaba/hooks/issues/758

`react-router-dom` only work on web. but `react-router` can work on react-native~

这样改动的原因是啥哩?

![image](https://user-images.githubusercontent.com/12526493/141063427-e543137c-076b-4945-82ef-3dd94ff40bbb.png) name 改成字符串就可以了。

> 如何修复这个问题呢? 参考下这里:https://github.com/alibaba/hooks/pull/1516#issuecomment-1075832893

我这边测试是没问题的,另外 keyof P 不也是 string 吗? ![image](https://user-images.githubusercontent.com/12526493/178257288-c5e09606-e12e-43c5-ae97-7badaa162030.png)

Can you provide an example?I can’t reproduce this problem in my test:https://codesandbox.io/s/eager-resonance-ebbh8?file=/App.tsx

这个实现起来可能比较麻烦,可能要支持动态的 cacheKey。后面我考虑下这个能力。