Soon

Results 171 comments of Soon

如果是这样的话,initialState也要改为 ```typescript initialState(){ return { name:"", age:1 } } ```

持久化可以不存JSON格式(?

After downgrading the vitest to @0.15.2, it works well.

> Hi @SoonIter ,Please upgrade `vitest` to the latest version. OK, it now works well with `vitest v0.18.1`

我的建议是从函数自记忆化下手,而不是使用useRequest ```javascript function memorizify(fn, judgeCachable = () => true) { const memorizedFn = function (...args) { const cacheMap = memorizedFn.cacheMap || memorizedFn.cacheMap = new Map(); if (cacheMap.has(args)) { return cacheMap.get(args);...

@matthew-dean I've finished this in another pr #4266, could you CR and merge it? 😁

> any merit to move test to top level? :-) There are no obvious benefits but I think we will move the tests directory to the top layer sooner or...

Here is some eslint-related information as an entry point for our investigation ```json "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, ``` In addition, we should try to avoid ast-grep as the default...

> Although nvm list gives multiple v18 versions, whenever i cd into the project's directory i get same issue with https://github.com/Schniz/fnm/issues/1035#issuecomment-2071936667 ``` ➜ fnm use Can't find an installed Node...

Maybe I can change it here, but I don't know what the hasBin field usage is , and why it won't been regenerated and whether there are other fields like...