短评 · ·

X 归档 2023-02-14

9 条动态 · 图 0 · 视频 4
I can't believe I just learnt that Chrome lets you:

- Emulate focus so you can click freely in devtools
- add debugging for when HTML subtrees change

WHERE WAS THIS THE PAST 5 YEARS?!

Here's how you enable focus emulation:
不敢相信我刚知道 Chrome 竟然可以:

- 模拟焦点,让你在 devtools 里自由点击
- 为 HTML 子树变化添加调试

过去 5 年这功能都藏在哪儿了?!

开启焦点模拟的方法在这里:
@WdeB17:14原推文
Can you believe this was made in Unreal Engine 5?
你敢信这是用 Unreal Engine 5 做的吗?
@t3dotgg We are creating a lib of it, but it will be targeting heavy typescript library authors to make their typescript libraries easier to maintain (like zod, trpc, tanstack, zodios).
Users of those libs will just profit from it indirectly :
https://github.com/gvergnaud/HOTScript
@t3dotgg 我们正在把它做成一个库,但它面向的是重型 TypeScript 库作者,让他们的 TypeScript 库更易维护(比如 zod、trpc、tanstack、zodios)。
这些库的用户会间接从中受益:
https://github.com/gvergnaud/HOTScript
Ok, my brain is exploding.
好家伙,我脑子要炸了。
CSS :is() gives you a handy way to clean up redundant selectors: https://t.co/2bu45H1JeS
CSS 的 :is() 为你提供了一种清理冗余选择器的便捷方式:https://t.co/2bu45H1JeS
`Intl` gives you browser native date, time, number (and more!) formatting

Goodbye massive date libraries! https://t.co/AhVlRepJGz
`Intl` 提供浏览器原生的日期、时间、数字(以及更多!)格式化能力

再见吧,庞大的日期库!https://t.co/AhVlRepJGz
Are you using modern attributes to ensure your images load optimally?

Check to be sure: https://t.co/zjrg4z7X5t
你在用现代属性确保图片以最优方式加载吗?

检查确认一下:https://t.co/zjrg4z7X5t
Hi! I'm Steve, CEO of @builderio

We are a headless CMS that lets you drag and drop with *your* UI components, directly inside your existing sites and apps

It can make for a much cleaner codebase and workflow than you might be used to:
嗨!我是 Steve,@builderio 的 CEO

我们是一个 headless CMS,让你直接在现有网站和应用里,用*你自己的* UI 组件进行拖放搭建

它能让你的代码库和工作流比你习惯的干净得多:
这太疯狂了 https://t.co/F0dU4yOsek