Yeefun Lin

Results 4 issues of Yeefun Lin

The original code will raise `TypeError: The view function did not return a valid response. The return type must be a string, dict, tuple, Response instance, or WSGI callable, but...

### 分析 發生在有 Caption 功能的 block(如 image block),因為它們右上角圖示中有 comment,因此會一起被導入進去。 ### 預期解法 去判斷 comment DOM 旁是否有 Caption DOM,有的話就不要導入。

bug

TypeScript tells me the function `asyncHero.execute` expects 1 argument, and I think it's reasonable.

When using useQuery, can we avoid [dispatch calls here](https://github.com/reduxjs/redux-toolkit/blob/af3e75bb9e6a51e13603d2a5684ef3ba1da07e3b/packages/toolkit/src/query/react/buildHooks.ts#L1628) by passing in skipToken? The current implementation causes performance issues when multiple components call useQuery simultaneously, resulting in too many dispatches....