短评 · ·

X 归档 2018-12-09

2 条动态 · 图 1 · 视频 0
🚀 V8 v7.2 speeds up Array.from(iterable) as well as [...array], [...string], [...set], [...map.keys()], and [...map.values()] (when the spread elements are at the start of the array literal). https://v8.dev/blog/spread-elements
🚀 V8 v7.2 加速了 Array.from(iterable) 以及 [...array]、[...string]、[...set]、[...map.keys()] 和 [...map.values()](当展开元素位于数组字面量开头时)。https://v8.dev/blog/spread-elements
@mathias 的配图 1/1
📝 Introducing Background Fetch.

➡️ Perform long-running fetches in the background.
➡️ Hear about the result in your service worker.
➡️ User can see progress and pause/cancel.

Demo & docs: https://developers.google.com/web/updates/2018/12/background-fetch
📝 介绍 Background Fetch。

➡️ 在后台执行长时间运行的请求。
➡️ 在 service worker 中获知结果。
➡️ 用户可以查看进度并暂停/取消。

演示与文档:https://developers.google.com/web/updates/2018/12/background-fetch