2026 第 18 周
更新:
-
scrollbar-width: thin; scrollbar-color: gray transparent; Ref
- timer?.unref?()
- Promise.race[第一个 settled, 竞争模型], Promise.any[第一个 fulfilled, 冗余模型], Promise.all[第一个 rejected, 协作模型], Promise.allSettled[全部 settled, 审计模型] - ps: 这些命名容易让开发者迷惑
- Promise.try ps: Promise.resolve().then(fn) 比 Promise.try 多一次 micro task
- Promise.resolve/Promise.reject/Promise.withResolvers. ps:
new Error('test case', { cause: Promise.resolve('case')}). ps:Promise.reject(Promise.resolve(1)).catch(e => e).then(value => console.assert(value === 1, '%s !== 1', value)),Promise.resolve(Promise.reject(1)).then(t => t).catch(value => console.assert(value === 1, '%s == 1', value)); - promise.then/.catch/.finally
- html2canvas-pro
- claude status
- Share files without friction
-
- outlet
- Antigravity IDE 需要在 setting 中设置 proxy 才能正常使用
- signal.throwIfAborted()
- AbortSignal.abort(), AbortSignal.any(), AbortSignal.timeout()
- Footgun
- YAGNI (You aren’t gonna need it)
- reka-ui: Craft accessible web apps with Vue
- “Do not try to do everything. Do one thing well.” — Steve Jobs
- SCVPN