周刊同步发表于微信公众号“写代码的宝哥”,欢迎各位小伙伴前来关注 😄!
快讯
![alt](https://img-blog.csdnimg.cn/img_convert/f293289d63089c386aee9dbe8565335d.png)
-
Bun [1] ——另一个( Deno [2] 也算一个)用于取代 Node.js 的运行时,其创始人 Jarred Sumner 将在美国当地时间 09.07 召开 1.0 产品发布会
文章
![alt](https://img-blog.csdnimg.cn/img_convert/28b969d95cd703dcc49e464957dff987.png)
-
How Dropbox Reduced the Size of Its JavaScript Bundles by 33% [3] - Dropbox 的小伙伴最近对网站 JavaScript 打包产物做了一次优化,减少了 33% 的体积。本文介绍他们是如何做的 -
htmx is Part of the GitHub Accelerator [4] - htmx 是一个存在已久的项目,最近才开始火。项目现在成为 GitHub 开源加速器计划 [5]的第一批扶持项目,有望促使 htmx 2.0 版本的开发 -
You Might Not Need Lodash or Underscore [6] - 受到 You Might Not Need jQuery [7] 项目启发。这个仓库列举了差不多 100 个如何使用原生 JS 代码实现的同等 Lodash/Underscore 方法。当然,实际项目中为了安全稳定,我还会继续使用 Lodash,而将这里列举的实现可以作为了解内部工作模式的一种方式
![alt](https://img-blog.csdnimg.cn/img_convert/c33e4d9dc281c679a2434cae4d56f84f.png)
-
JSX Without React [8] - Chris Coyier 体验了一个名为 NakedJSX [9] 的 JS 库,可以让你在不需要 React 情况下使用 JSX -
You’ve Got Options for Removing Event Listeners [10] - 本文讲述移除监听事件的 4 种方式,包括直接移除和间接移除 -
10 Web development trends in 2023 [11] - 本文讨论 2023 年的 10 大开发趋势。包括 JavaScript 运行时以及 AI 驱动式开发 -
Prepare Your Firefox Desktop Extension for the Upcoming Android Release [12] - Android 设备上的 Firefox 浏览器开始支持桌面端扩展程序了,扩展程序开发者们需要注意为移动端适配了
![alt](https://img-blog.csdnimg.cn/img_convert/5e2b845b968919604e447120b6736543.png)
-
How to Make Lists Accessible [13] - 介绍 HTML 列表元素的使用,包括无障碍优化相关
![alt](https://img-blog.csdnimg.cn/img_convert/e1e57b066a1ea17ba3ba3b87d629b701.png)
-
Four New CSS Features for Smooth Entry and Exit Animations [14] - 本文介绍 4 个新的 CSS 特性,介绍如何丝滑地开始和退出动画 -
An Overview of CSS Sizing Units [15] - 本文将 CSS 中的尺寸单位依据参照物划分成 4 类,并逐一介绍相关概念及应用场景
发布
![alt](https://img-blog.csdnimg.cn/img_convert/4a6dc6ee4a86a335661e3efa0c00e03d.png)
-
Croner 7.0: Cron for JavaScript and TypeScript [16] - cron 表达式的 JavaScript 语言实现,用于定期执行特定函数。目前支持的平台包括:Node、Deno、Bun 和浏览器
![alt](https://img-blog.csdnimg.cn/img_convert/946013705dd22773e68ceba80926cf0f.png)
-
Fresh 1.4 [17] - Deno 驱动的 Web 框架 [18]。地位类似 Node.js 的 Next.js,使用了 Preact 渲染页面 -
Electron 26.0 [19] - 跨平台桌面软件开发工具 -
NodeBB 3.3 [20] - Node.js 驱动一个论坛网站
![alt](https://img-blog.csdnimg.cn/img_convert/21e97b69a58ac923a8a2a6b029ec05de.png)
-
Playwright 1.37.0 [21] - 微软出品的一款 e2e 测试工具 -
Angular 16.2 [22] - Google 公司创建的一款前端框架,现在仍在活跃维护中 -
jest-dom 6.0 [23] - 一个扩展 Jest DOM 操作的扩展匹配器,更易于 DOM 元素测试 -
[What's New in DevTools (Chrome 117)](https://developer.chrome.com/blog/new-in-devtools-117/ "What's New in DevTools (Chrome 117 "What's New in DevTools (Chrome 117)")") - 支持本地修改请求响应、代码高亮及高亮支持
资源
![alt](https://img-blog.csdnimg.cn/img_convert/e3cacf5a0fb6eec7f809f9a77f8bee5c.png)
-
Discover three.js: A Complete Guide to Creating 3D Web Experiences [24] - three.js 是一款著名的 3D 动画库,本书免费从 0 到 1 教你如何使用它,有中文版可以阅读。值得注意的是,本文作者 Lewy Blue(路易·布鲁) 也是 three.js 项目的主要贡献者之一, -
Over 100 Algorithms and Data Structures Demonstrated in JS [25] - 这个仓库总包含超过100 种数据结构与算法的 JavaScript 实现
![alt](https://img-blog.csdnimg.cn/img_convert/ec01fb7cb391c53cb5050af985a7d3fe.png)
-
CSS Tip [26] - 这个网站罗列了很多 CSS 编写技巧,每天一分钟学会一个! -
Iconbuddy [27] - 一个免费 Icon 搜索引擎,搜索180K+ 在内的开源 Icon 资源
![alt](https://img-blog.csdnimg.cn/img_convert/8febc504305301a3710b6ce913e7b26d.png)
-
LangUI [28] - 一个包含 60+ Tailwind 组件的 UI 库,为构建 AI & GPT 这类项目而生,支持黑白两色主题 -
Primo [29] - 生成静态站点的可视 CMS。Primo 本身是一个使用 Supabase 作为后端的 SvelteKit 应用程序
工具
![alt](https://img-blog.csdnimg.cn/img_convert/b9d6ca32c59208e94bba4069c6665b92.png)
-
OddContrast [30] - 用于查看颜色 Contrast Ratio,为设计无障碍友好型网站。支持 Hex、HSL、Oklch 内在多种颜色格式
![alt](https://img-blog.csdnimg.cn/img_convert/7fba0d785e3643189618c613eb5c1275.png)
-
Proto Tree: A Way to Observe the JS Prototype Chain [31] - 这个网页可以用来展示 JavaScript 原型链的结构 -
twentyhq/favicon [32] - 一个用于获取网站 fav icon 的工具,比如: https://favicon.twenty.com/apple.com [33] -
deno_python: Python Interpreter Bindings for Deno [34] - 实现 deno 中操作 python 的一个桥接工具
库
![alt](https://img-blog.csdnimg.cn/img_convert/8db70d084192e3acaa15ac96b056b036.png)
-
Linkify 4.1: Link Up URLs, Email Addresses, and More in Plain Text [35] - 找出并转换文本中的链接、邮箱号关键信息。还支持通过插件支持 hashtag、@mentions、IP 地址、关键字等其他提取转换功能 -
Barba.js: For Smooth Visual Transitions Between Pages [36] - 为页面切换增加过渡效果,官网已经完美诠释了这个库所能做到所有精彩过渡展示
时光机
![alt](https://img-blog.csdnimg.cn/img_convert/82111bdb49a0d88162939258dda158f0.png)
-
感受下 1999 年 Apple、Google 和 Amazon 站点长什么样子 [37]
资料来源:JavaScript Weekly#652[38]、Frontend Focus#606[39]。
References
Bun: https://bun.sh/1.0
[2]Deno: https://deno.land/
[3]How Dropbox Reduced the Size of Its JavaScript Bundles by 33%: https://dropbox.tech/frontend/how-we-reduced-the-size-of-our-javascript-bundles-by-33-percent
[4]htmx is Part of the GitHub Accelerator: https://htmx.org/posts/2023-06-06-htmx-github-accelerator/
[5]GitHub 开源加速器计划: https://accelerator.github.com/
[6]You Might Not Need Lodash or Underscore: https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#readme
[7]You Might Not Need jQuery: https://youmightnotneedjquery.com/
[8]JSX Without React: https://chriscoyier.net/2023/08/07/jsx-without-react/
[9]NakedJSX: https://nakedjsx.org/
[10]You’ve Got Options for Removing Event Listeners: https://www.macarthur.me/posts/options-for-removing-event-listeners
[11]10 Web development trends in 2023: https://www.robinwieruch.de/web-development-trends/
[12]Prepare Your Firefox Desktop Extension for the Upcoming Android Release: https://blog.mozilla.org/addons/2023/08/10/prepare-your-firefox-desktop-extension-for-the-upcoming-android-release/
[13]How to Make Lists Accessible: https://blog.pope.tech/2022/09/01/accessible-lists-and-tables/
[14]Four New CSS Features for Smooth Entry and Exit Animations: https://developer.chrome.com/blog/entry-exit-animations/
[15]An Overview of CSS Sizing Units: https://www.sitepoint.com/css-sizing-units/
[16]Croner 7.0: Cron for JavaScript and TypeScript: https://github.com/hexagon/croner
[17]Fresh 1.4: https://deno.com/blog/fresh-1.4
[18]Deno 驱动的 Web 框架: https://fresh.deno.dev/
[19]Electron 26.0: https://www.electronjs.org/blog/electron-26-0
[20]NodeBB 3.3: https://nodebb.org/
[21]Playwright 1.37.0: https://github.com/microsoft/playwright/releases/tag/v1.37.0
[22]Angular 16.2: https://github.com/angular/angular/releases/tag/16.2.0
[23]jest-dom 6.0: https://github.com/testing-library/jest-dom
[24]Discover three.js: A Complete Guide to Creating 3D Web Experiences: https://discoverthreejs.com/
[25]Over 100 Algorithms and Data Structures Demonstrated in JS: https://github.com/trekhleb/javascript-algorithms
[26]CSS Tip: https://css-tip.com/
[27]Iconbuddy: https://iconbuddy.app/
[28]LangUI: https://www.langui.dev/
[29]Primo: https://primocms.org/
[30]OddContrast: https://www.oddcontrast.com/
[31]Proto Tree: A Way to Observe the JS Prototype Chain: https://weizmangal.com/ProtoTree/?filters=XMLHttpRequest
[32]twentyhq/favicon: https://github.com/twentyhq/favicon
[33]https://favicon.twenty.com/apple.com: https://favicon.twenty.com/apple.com
[34]deno_python: Python Interpreter Bindings for Deno: https://github.com/denosaurs/deno_python
[35]Linkify 4.1: Link Up URLs, Email Addresses, and More in Plain Text: https://linkify.js.org
[36]Barba.js: For Smooth Visual Transitions Between Pages: https://barba.js.org/
[37]感受下 1999 年 Apple、Google 和 Amazon 站点长什么样子: https://mashable.com/article/90s-web-design
[38]JavaScript Weekly#652: https://javascriptweekly.com/issues/652
[39]Frontend Focus#606: https://frontendfoc.us/issues/606
本文由 mdnice 多平台发布