·webf-async-rendering
</>

webf-async-rendering

openwebf/webf

了解并使用 WebF 的异步渲染模型 - 正确处理屏幕上/屏幕外事件和元素测量。当 getBoundingClientRect 返回零、计算样式不正确、测量失败或元素未按预期布局时使用。

6安装·0热度·@openwebf

安装

$npx skills add https://github.com/openwebf/webf --skill webf-async-rendering

SKILL.md

Note: WebF development is nearly identical to web development - you use the same tools (Vite, npm, Vitest), same frameworks (React, Vue, Svelte), and same deployment services (Vercel, Netlify). This skill covers one of the 3 key differences: WebF's async rendering model. The other two differences are API compatibility and routing.

This is the #1 most important concept to understand when moving from browser development to WebF.

In Browsers (Synchronous Layout) When you modify the DOM, the browser immediately performs layout calculations:

了解并使用 WebF 的异步渲染模型 - 正确处理屏幕上/屏幕外事件和元素测量。当 getBoundingClientRect 返回零、计算样式不正确、测量失败或元素未按预期布局时使用。 来源:openwebf/webf。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/openwebf/webf --skill webf-async-rendering
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 webf-async-rendering?

了解并使用 WebF 的异步渲染模型 - 正确处理屏幕上/屏幕外事件和元素测量。当 getBoundingClientRect 返回零、计算样式不正确、测量失败或元素未按预期布局时使用。 来源:openwebf/webf。

如何安装 webf-async-rendering?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openwebf/webf --skill webf-async-rendering 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/openwebf/webf