技术周报·TypeScript 4.8 版本发布

4,730 阅读2分钟

编辑推荐

Announcing TypeScript 4.8

更新内容:可变元组类型、标记的元组元素、构造器的类属性推断、短路赋值运算符、catch 子句绑定 unknown、定制 JSX 工厂等等,熟悉 TypeScript 的同学可以升级试试。

从零开发一款图片编辑器Mitu-Dooring

最近一直在做数据可视化和lowcode/nocode相关的项目,针对我自己的工作经验和对lowcode/nocode的探索,也写了一系列 低代码可视化搭建 系列文章,今天我们继续来分享可视化相关的内容 —— 可视化图片编辑器

深度阅读

从零开始搭建一个属于你自己的组件库!

组件在前端开发中越来越重要了,开发者更细分、聚焦于组件层面的开发,然后像搭积木一样完成应用功能。组件库可以统一管理组件,输出文档,能提升组件复用性、避免重复造轮子。赶快搭建自己的组件库吧,这瓜保甜!

一文带你搞懂 CDN 的技术原理

CDN 就是内容分发网络的意思,其英文全称为 Content Delivery Network。简单地说,CDN 可以提前把数据存在离用户最近的数据节点,从而避免长途跋涉经过长途骨干网,最终达到减少骨干网负担、提高访问速度的目的。

外文精选

Developer Experience Infrastructure (DXI)

Developer Experience is not different from the holistic user experience provided to users of a given product but is qualified to be specifically for developers. The developer experience may be vastly different if a given product or service caters to both end-users and developers.

Tauri VS. Electron - Real world application

In this article I'm going to compare Electron and Tauri using a real world app: Authme. Authme is a Simple cross-platform two-factor authenticator app for desktop. It's not a big app and not very complex, perfect for a little comparison. You can take a look at the source code of the Electron app on GitHub and the Tauri app is also on GitHub. My goal is that the Tauri app eventually replaces the Electron one.

How to Convert a Video Clip to a GIF File with Client-side JavaScript

As an individual who indulges in technical writing, I personally find the aspect of communicating to readers effectively the most challenging part of crafting any technical piece of writing.

实践应用

图解 Node.js 的核心 event-loop

我们平时说 Node.js 是单线程仅仅是指 node 执行我们的 JS 代码,更准确地说是 V8 执行 JS code 是发生在单线程里面的。实际上如果你打开 Node 进程,会发现它有不少 worker thread。这是一个典型的单进程多线程模型。这些 worker thread 被放置于线程池里面,而 V8 执行 JS code 的线程被称为主线程。

精读《SolidJS》

为什么要介绍 SolidJS 而不是其他前端框架?因为 SolidJS 在教 React 团队正确的实现 Hooks,这在唯 React 概念与虚拟 DOM 概念马首是瞻的年代非常难得,这也是开源技术的魅力:任何观点都可以被自由挑战,只要你是对,你就可能脱颖而出。