jump-and-jump
jump-and-jump
试了一下,感觉不错,不确定,再看看
how about cypress? https://www.cypress.io/
> 你好,文章写的很棒,可以授权分享转载到 前端Q 公众号么,会注明原文地址和作者。 可以,没问题的
> 我用tailwindCSS很不错 你可以试试😯 那时候 tailwindCSS 还没火
自己赞一个,嘿嘿
@biaochenxuying 可以的
``` const memoize = fn => new Proxy(fn, { cache: new Map(), apply(target, thisArg, argsList) { let cacheKey = argsList.toString(); if (!this.cache.has(cacheKey)) this.cache.set(cacheKey, target.apply(thisArg, argsList)); return this.cache.get(cacheKey); } }); const...
最近基于 Proxy 写了一个库 [memoizee-proxy](https://github.com/wsafight/memoizee-proxy),文章为 [手写一个基于 Proxy 的缓存库](https://github.com/wsafight/personBlog/issues/34)
> 发现几处问题: > > 一: > 在 「方案三 多promise 缓存」 中: > > if (promise) { > // 如果 缓存中有,直接push > promise.push(promise) > } > > promise.push(promise) 是否应该为 -> promiseApi.push(promise)...