| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
fix(engine): text-align:center not working on View containers Root cause: StyleResolver.ts applyInherited() only inherited CSS properties for Text/Span elements. Intermediate View containers broke the inheritance chain, so textAlign set on a parent View was never propagated to child Text nodes. Fix: Add 'View' to TEXT_ELEMENT_NAMES so views pass through inherited properties (textAlign, color, fontSize, etc.) to child Text elements, per CSS spec. Also fix harmony-entry-template.js to normalize Windows backslash paths that broke createRoot() component lookups in native rendering. Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
feat(engine): support devtools debugging in release builds - build-profile.json5: enable ENABLE_INSPECTOR for the release variant; runtime gating stays with debugMode (create JS inspector / connect devtool only when debugMode=true) - FlexUIEngine.ets: log switch now driven by build type via BuildProfile.DEBUG (imported from module-root generated BuildProfile.ets) instead of debugMode; enableLog remains an explicit override - FlexUIEngineContextImpl.ets: create DevtoolsManager only inside the debugMode branch so debugMode=false never connects/creates devtools - build-jsfwk/index.js: remove stale flexui_jsfwk.js.map on release builds so sourcemaps are not packaged into the HAR - scripts: build-engine gains --verbose (full hvigorw log + retained logfile), build-jsfwk no longer swallows failures, hvigorw auto-detection now covers Windows DevEco paths, and all $HVIGORW calls are quoted (path with spaces) - docs: README + pkg-size-reduce updated to reflect ENABLE_INSPECTOR=true for both debug and release builds | 1 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 | |
chore: cleanup flexui-engine - remove iOS/Voltron, move configs/docs to root - Remove iOS-related dirs: framework/ios, modules/ios, tests, ios-demo - Remove Voltron: framework/voltron, modules/voltron, renderer/voltron - Remove unused: TDF renderer, buildconfig, devtools, pjdocs, vfs module - Move project configs to root: .editorconfig, .husky, commitlint.config.js - Move docs to docs/engine (merged Hippy docs replacing old engine docs) - Merge .github community templates from engine to root - Clean flexui-engine .gitignore (remove deleted paths) - Preserve only Harmony + Android + cross-platform essentials Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 |
Hippy 简介
版本:3.3.7
更新时间:2025-09-25
SDK介绍:Hippy 是腾讯端框架(Tencent Device-oriented Service Framework)下的开源跨平台应用开发解决方案。Hippy 可以理解为一个精简版的浏览器,从底层做了大量工作,抹平了 iOS、Android、Ohos 三端差异,提供了接近 Web 的开发体验,目前上层支持了 React 和 Vue 两套界面框架,前端开发人员可以通过它,将前端代码转换为终端的原生指令,进行原生终端 App 的开发。同时,Hippy 从底层进行了大量优化,在启动速度、渲染性能、动画速度、内存占用、包体积等方面都提供了业内顶尖的性能表现。
更新日志:Change log
服务提供方:深圳市腾讯计算机系统有限公司
和 Web 接近的开发体验
-
Hippy 对齐浏览器 DOM 的事件、网络、日志、定时器、Performance 等API, 前端开发同学没有太高的学习成本。
-
Hippy-Vue、Hippy-React兼容 Vue 和 React 框架, 使用 Vue、React 开发的 Web 项目基本无缝迁移。
-
完全支持 Flex 布局, 和常用的 CSS 属性。
-
兼容 Webpack/Rollup 等打包工具, 支持分包, 代码动态加载, 有完善的 devtools 工具, 对齐前端的开发体验。
一次开发,多端运行
使用 Hippy 框架开发后,代码可以同时运行在 Android、iOS、Ohos、Web等多个平台。
出色的性能表现
Hippy 有比竞品更出色的性能表现。
渲染性能
ListView 在滑动时的性能对比,Hippy 可以一直保持十分流畅的状态。

内存占用
而在内存占用上,初始化 List 时 Hippy 就略占优势,在滑动了几屏后内存开销的差距越来越大。

包体积
Hippy 的包体积在业内也是非常具有竞争力的。

上图是一个空的APK,在引入后终端包大小对比。

上图是在前端搭建了一个最简单的 ListView 后,前端打出的 JS 的包大小对比。
可扩展的架构设计
在Hippy 3.0版本,我们对 Hippy 架构做了一次比较大的重构, 采用 Driver,Dom Manager,Renderer 分层解耦的设计理念,其设计目标就是希望框架在未来具有很好的可扩展性,以复用的 DOM 管理、排版布局为核心连接上层 Driver 和下层 Renderer,同时支持不同 Driver 和 Renderer 的接入和自由切换。

驱动层
驱动层为业务封装了对接DOM层的渲染指令和底层接口, 用户可以使用 Hippy 框架提供的 React/Vue 驱动层来开发业务,也支持扩展其它任意 DSL 语言进行驱动。详见 Hippy-React、Hippy-Vue。
DOM层
DOM Manager 从 Java/OC 抽离到 C++,作为中间枢纽,除了接收处理来自上层的消息,进行 DOM Tree 的创建和维护外,还负责与不同渲染引擎,排版引擎和调试工具的对接通信。
渲染层
- Native Renderer:使用 Android/iOS/Ohos 原生组件进行渲染, 详见 Android、iOS、Ohos。
- Voltron Renderer:使用 Flutter 渲染, 详见 Voltron。
- Web Renderer:使用 WebView 渲染(Web 同构), 详见 Web。
交流链接
- 文章专栏
- 企业微信交流群,使用微信或者企业微信扫描加入

总结
如果您准备好了,那就 开始接入 Hippy 吧。