<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>前端成长记录</title>
        <link>https://fonghehe.github.io/blog/</link>
        <description>一个前端工程师从 2018 年开始的学习与成长记录。1,531 篇深度文章，涵盖框架原理、工程化实践与前沿探索。</description>
        <lastBuildDate>Thu, 12 Nov 2026 15:33:05 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <image>
            <title>前端成长记录</title>
            <url>https://fonghehe.github.io/blog/social-card.png</url>
            <link>https://fonghehe.github.io/blog/</link>
        </image>
        <copyright>MIT Licensed - 前端成长记录 2018-2026</copyright>
        <item>
            <title><![CDATA[金额输入与舍入契约：显示两位小数不等于计算准确]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/11/decimal-money-input-rounding.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/11/decimal-money-input-rounding.html</guid>
            <pubDate>Thu, 12 Nov 2026 15:33:05 GMT</pubDate>
            <description><![CDATA[用十进制字符串、最小单位整数和明确舍入规则处理金额，保持分摊总和一致。]]></description>
        </item>
        <item>
            <title><![CDATA[用 ETag 处理并发编辑：别让后保存的人无声覆盖前一个人]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/11/etag-concurrent-edit-conflicts.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/11/etag-concurrent-edit-conflicts.html</guid>
            <pubDate>Tue, 10 Nov 2026 11:31:22 GMT</pubDate>
            <description><![CDATA[把条件写入、草稿保留和三方比较连接起来，建立可解释的冲突恢复流程。]]></description>
        </item>
        <item>
            <title><![CDATA[摄像头预览的资源租约：权限弹窗晚返回时，页面已经关闭了]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/11/camera-resource-lease-lifecycle.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/11/camera-resource-lease-lifecycle.html</guid>
            <pubDate>Thu, 05 Nov 2026 14:40:22 GMT</pubDate>
            <description><![CDATA[用请求世代和轨道清理管理摄像头生命周期，区分停止预览与真正释放设备。]]></description>
        </item>
        <item>
            <title><![CDATA[输入法组合态：搜索框为什么会吞字、误提交和重复请求]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/11/ime-composition-input-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/11/ime-composition-input-contract.html</guid>
            <pubDate>Tue, 03 Nov 2026 10:28:18 GMT</pubDate>
            <description><![CDATA[把正在组合的文本与已提交输入分开，设计中文、日文和快捷键的交互边界。]]></description>
        </item>
        <item>
            <title><![CDATA[把筛选条件放进 URL：可分享页面需要一个规范化协议]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/url-query-state-canonicalization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/url-query-state-canonicalization.html</guid>
            <pubDate>Thu, 29 Oct 2026 11:01:42 GMT</pubDate>
            <description><![CDATA[用解析、规范化和历史导航设计列表状态，避免分享链接与画面各自为政。]]></description>
        </item>
        <item>
            <title><![CDATA[撤销与重做的命令历史：一次操作到底应该恢复什么]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/undo-redo-command-history.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/undo-redo-command-history.html</guid>
            <pubDate>Tue, 27 Oct 2026 15:18:29 GMT</pubDate>
            <description><![CDATA[用字幕编辑示例解释事务分组、反向命令、保存基线和外部副作用的边界。]]></description>
        </item>
        <item>
            <title><![CDATA[大文件下载的内存预算：从 response.blob 到可取消的写入流水线]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/large-download-stream-lifecycle.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/large-download-stream-lifecycle.html</guid>
            <pubDate>Thu, 22 Oct 2026 09:34:27 GMT</pubDate>
            <description><![CDATA[设计流式落盘、进度含义和失败清理，避免把下载进度误当成文件已经保存。]]></description>
        </item>
        <item>
            <title><![CDATA[多标签页任务选主：Web Locks 解决互斥，服务端仍要拒绝旧写入]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/web-locks-leader-fencing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/web-locks-leader-fencing.html</guid>
            <pubDate>Tue, 20 Oct 2026 09:57:55 GMT</pubDate>
            <description><![CDATA[区分浏览器锁、任务生命周期和服务端栅栏，避免把本地互斥误当成分布式保证。]]></description>
        </item>
        <item>
            <title><![CDATA[Fetch 读取 SSE：网络分块不是消息边界]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/sse-framing-fetch-streams.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/sse-framing-fetch-streams.html</guid>
            <pubDate>Thu, 15 Oct 2026 09:06:03 GMT</pubDate>
            <description><![CDATA[为流式响应设计增量解码、事件分帧、取消与业务完成标记。]]></description>
        </item>
        <item>
            <title><![CDATA[CSV 导出的数据边界：引号转义之后，单元格仍可能执行公式]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/csv-export-data-boundary.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/csv-export-data-boundary.html</guid>
            <pubDate>Tue, 13 Oct 2026 16:08:01 GMT</pubDate>
            <description><![CDATA[从字段类型、公式注入和验收样例出发，设计可解释的表格导出策略。]]></description>
        </item>
        <item>
            <title><![CDATA[预约时间怎么存：把日历意图、时区和真实时刻分开]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/timezone-calendar-intent.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/timezone-calendar-intent.html</guid>
            <pubDate>Thu, 08 Oct 2026 14:11:42 GMT</pubDate>
            <description><![CDATA[用夏令时重叠与缺口解释预约、全天事件和重复计划的不同数据模型。]]></description>
        </item>
        <item>
            <title><![CDATA[Unicode 文本偏移契约：为什么一个表情能把高亮和字数限制弄错]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/unicode-grapheme-offset-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/unicode-grapheme-offset-contract.html</guid>
            <pubDate>Tue, 06 Oct 2026 11:29:53 GMT</pubDate>
            <description><![CDATA[区分 UTF-16、码点与字素簇，统一截断、选区和后端标注的坐标系统。]]></description>
        </item>
        <item>
            <title><![CDATA[游标分页的一致性：新增、删除和排序变化后，列表还可信吗]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/10/cursor-pagination-consistency.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/10/cursor-pagination-consistency.html</guid>
            <pubDate>Fri, 02 Oct 2026 10:28:31 GMT</pubDate>
            <description><![CDATA[用稳定排序、查询身份和快照边界设计分页，解释去重为什么不能修复漏项。]]></description>
        </item>
        <item>
            <title><![CDATA[React Native 与 Flutter 无障碍验收：从读屏到大字体]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/mobile-accessibility-rn-flutter.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/mobile-accessibility-rn-flutter.html</guid>
            <pubDate>Wed, 30 Sep 2026 09:32:48 GMT</pubDate>
            <description><![CDATA[为 RN 和 Flutter 建立读屏、焦点顺序、字体放大与状态反馈的移动端验收路径。]]></description>
        </item>
        <item>
            <title><![CDATA[移动端发布门禁：安装包、热更新与回滚各管哪一层]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/mobile-release-rollout-gates.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/mobile-release-rollout-gates.html</guid>
            <pubDate>Fri, 25 Sep 2026 18:39:12 GMT</pubDate>
            <description><![CDATA[建立 RN 与 Flutter 发布前的版本兼容、灰度监控和回滚检查清单。]]></description>
        </item>
        <item>
            <title><![CDATA[Flutter 功能测试分层：仓储、Widget 与真机流程各测什么]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/flutter-feature-testing-pyramid.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/flutter-feature-testing-pyramid.html</guid>
            <pubDate>Wed, 23 Sep 2026 12:18:06 GMT</pubDate>
            <description><![CDATA[以订单页面为例划分 Flutter 单元、Widget 和集成测试的职责。]]></description>
        </item>
        <item>
            <title><![CDATA[React Native 原生能力接入：模块边界和失败语义怎么定]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/react-native-native-module-boundary.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/react-native-native-module-boundary.html</guid>
            <pubDate>Mon, 21 Sep 2026 17:46:21 GMT</pubDate>
            <description><![CDATA[从扫码与生物识别案例设计 RN 原生模块的接口、权限、取消和错误语义。]]></description>
        </item>
        <item>
            <title><![CDATA[Flutter 表单异步校验：防止旧结果覆盖新输入]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/flutter-form-async-validation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/flutter-form-async-validation.html</guid>
            <pubDate>Fri, 18 Sep 2026 10:25:57 GMT</pubDate>
            <description><![CDATA[处理 Flutter 表单的防抖、请求代次、提交锁定和服务端错误回填。]]></description>
        </item>
        <item>
            <title><![CDATA[React Native 推送落地页：通知与站内消息如何保持一致]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/react-native-push-inbox-consistency.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/react-native-push-inbox-consistency.html</guid>
            <pubDate>Wed, 16 Sep 2026 20:11:35 GMT</pubDate>
            <description><![CDATA[处理 RN 推送在前台、后台和冷启动下的去重、导航与消息已读一致性。]]></description>
        </item>
        <item>
            <title><![CDATA[移动端会话存储：令牌、登出与多账户缓存清理]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/mobile-session-storage.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/mobile-session-storage.html</guid>
            <pubDate>Mon, 14 Sep 2026 13:06:49 GMT</pubDate>
            <description><![CDATA[设计移动应用的令牌存放、刷新串行化、登出清理和账户隔离。]]></description>
        </item>
        <item>
            <title><![CDATA[移动端深链入口：登录回跳与外部参数的安全边界]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/mobile-deep-link-security.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/mobile-deep-link-security.html</guid>
            <pubDate>Fri, 11 Sep 2026 15:29:08 GMT</pubDate>
            <description><![CDATA[把 RN 与 Flutter 深链视为外部输入，处理路径校验、登录回跳和重复打开。]]></description>
        </item>
        <item>
            <title><![CDATA[Flutter 掉帧定位：从时间线找到真正昂贵的 Widget]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/flutter-frame-jank-investigation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/flutter-frame-jank-investigation.html</guid>
            <pubDate>Wed, 09 Sep 2026 09:53:14 GMT</pubDate>
            <description><![CDATA[用 profile 模式和帧时间线区分 Flutter 的构建、布局、绘制与光栅化开销。]]></description>
        </item>
        <item>
            <title><![CDATA[React Native 长列表卡顿排查：先测再调 FlatList]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/react-native-list-performance-diagnosis.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/react-native-list-performance-diagnosis.html</guid>
            <pubDate>Mon, 07 Sep 2026 19:14:42 GMT</pubDate>
            <description><![CDATA[从生产构建、JS 线程与列表布局入手定位 RN FlatList 的滚动卡顿。]]></description>
        </item>
        <item>
            <title><![CDATA[移动端页面状态契约：加载、离线与过期数据如何共存]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/mobile-screen-state-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/mobile-screen-state-contract.html</guid>
            <pubDate>Fri, 04 Sep 2026 11:37:26 GMT</pubDate>
            <description><![CDATA[为 RN 与 Flutter 页面建立统一的数据状态契约，避免加载、空态和离线态互相覆盖。]]></description>
        </item>
        <item>
            <title><![CDATA[Flutter 离线写入队列：草稿、重试与冲突怎么处理]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/flutter-offline-write-queue.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/flutter-offline-write-queue.html</guid>
            <pubDate>Wed, 02 Sep 2026 16:08:53 GMT</pubDate>
            <description><![CDATA[设计 Flutter 离线写入的本地队列、幂等键、冲突状态与恢复流程。]]></description>
        </item>
        <item>
            <title><![CDATA[React Native 前后台切换：让列表恢复后拿到可信数据]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/09/react-native-appstate-refresh.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/09/react-native-appstate-refresh.html</guid>
            <pubDate>Tue, 01 Sep 2026 19:08:53 GMT</pubDate>
            <description><![CDATA[用 AppState、请求代次和服务端版本处理 React Native 页面恢复，避免旧请求覆盖新数据。]]></description>
        </item>
        <item>
            <title><![CDATA[DApp 前端实时数据订阅架构：WebSocket、Reorg 与多标签同步]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/web3-realtime-data-subscription.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/web3-realtime-data-subscription.html</guid>
            <pubDate>Sat, 29 Aug 2026 13:19:38 GMT</pubDate>
            <description><![CDATA[dApp 前端的实时数据不只是接个 WebSocket。本文覆盖 WS provider 订阅 vs 轮询 vs indexing service 的选型、断线重连与重订阅策略、链上 reorg 在 UI 状态中的处理、BroadcastChannel 多标签同步，以及 TanStack Query 融合订阅与 REST 快照的集成模式。]]></description>
        </item>
        <item>
            <title><![CDATA[Angular 23 Hydration 进阶：增量水合与 Zoneless 实战]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/angular-hydration-strategies.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/angular-hydration-strategies.html</guid>
            <pubDate>Thu, 27 Aug 2026 16:48:05 GMT</pubDate>
            <description><![CDATA[Angular 23 的 hydration 不再只是全量激活。本文从 @defer hydrate 触发器、选择性水合边界、zoneless 配合、TBT/INP 度量到内容页与仪表盘的不同策略，记录一个营销站迁移的真实数据和踩坑经验。]]></description>
        </item>
        <item>
            <title><![CDATA[前端契约测试：用 Consumer-Driven Contract 终结 API 漂移]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/frontend-contract-testing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/frontend-contract-testing.html</guid>
            <pubDate>Tue, 25 Aug 2026 09:26:47 GMT</pubDate>
            <description><![CDATA[当 mock 单元测试和手动集成测试反复漏掉后端接口变更时，Consumer-Driven Contract Testing 把契约定义权交给前端。本文从 Pact 和 OpenAPI 两条路线出发，记录一个 4 前端共享 BFF 团队的落地过程、踩坑与收益。]]></description>
        </item>
        <item>
            <title><![CDATA[pnpm Monorepo 依赖自动升级：Renovate 配置与 CI 门禁实战]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/dependency-upgrade-automation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/dependency-upgrade-automation.html</guid>
            <pubDate>Sun, 23 Aug 2026 11:31:54 GMT</pubDate>
            <description><![CDATA[在 pnpm monorepo 中落地依赖自动升级，不是装个 Renovate 就完事。本文覆盖分组策略、automerge 分级、lockfile-only 更新、CI 门禁（typecheck/测试/bundle size）、breaking change codemod 集成和安全漏洞响应流程，附团队实际推行数据。]]></description>
        </item>
        <item>
            <title><![CDATA[CSS Style Queries 实战：用自定义属性驱动组件变体]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/css-style-queries.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/css-style-queries.html</guid>
            <pubDate>Fri, 21 Aug 2026 14:06:19 GMT</pubDate>
            <description><![CDATA[CSS Style Queries（@container style(...)）进入 Baseline 2026，终于可以根据自定义属性的值来应用样式。本文聚焦实际用法：主题切换不靠 class、组件变体由 custom property 驱动、与 @property 的配合，以及降级策略。]]></description>
        </item>
        <item>
            <title><![CDATA[Vue SSR Streaming 渲染：2026 年的流式架构与选择性 Hydration]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/vue-ssr-streaming-modern.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/vue-ssr-streaming-modern.html</guid>
            <pubDate>Wed, 19 Aug 2026 20:12:33 GMT</pubDate>
            <description><![CDATA[Vue SSR 在 Vapor 时代已经从 vue-server-renderer 演进到 renderToStream + 选择性 Hydration。本文从内部管理系统 CSR 迁移到公开站点 SSR 的实战经验出发，覆盖流式渲染、hydration mismatch 调试、CDN edge streaming 集成等核心问题。]]></description>
        </item>
        <item>
            <title><![CDATA[React Router 7 Framework Mode 迁移实录：从 SPA + API 到全栈框架]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/react-router-7-framework-mode.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/react-router-7-framework-mode.html</guid>
            <pubDate>Sun, 16 Aug 2026 10:58:26 GMT</pubDate>
            <description><![CDATA[将一个内部仪表盘从传统 SPA + Express API 架构迁移到 React Router 7 framework mode 的完整过程：routes.ts 配置、loader/action 数据流设计、single-fetch 与 typegen、hydration 陷阱、Error Boundary UX，以及何时应该继续用 declarative mode。]]></description>
        </item>
        <item>
            <title><![CDATA[Long Animation Frame API 实战：从归因盲区到 INP 精准优化]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/loaf-long-animation-frames.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/loaf-long-animation-frames.html</guid>
            <pubDate>Fri, 14 Aug 2026 15:23:41 GMT</pubDate>
            <description><![CDATA[PerformanceObserver long-animation-frame（LoAF）API 解决了 Long Task API 无法归因的核心缺陷。本文详解 LoAF 的字段含义、生产环境采集方案，并通过第三方脚本阻塞、长渲染通道、样式布局抖动三个真实案例展示如何用 LoAF 驱动 INP 优化。]]></description>
        </item>
        <item>
            <title><![CDATA[原生 TypeScript 编译器 tsgo 迁移实战：Monorepo 从 tsc 到 Go 编译器的完整记录]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/ts-native-compiler-tsgo-migration.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/ts-native-compiler-tsgo-migration.html</guid>
            <pubDate>Tue, 11 Aug 2026 09:47:12 GMT</pubDate>
            <description><![CDATA[将一个中型 Monorepo 从 tsc 迁移到 Go 原生编译器 tsgo 的完整过程：哪些场景真的变快了、配置和 API 层面的破坏性变更、CI 流水线调整、回滚策略，以及一份可直接复用的迁移清单。]]></description>
        </item>
        <item>
            <title><![CDATA[Service Worker 与离线优先架构：PWA 的工程实践]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/service-worker-offline-first.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/service-worker-offline-first.html</guid>
            <pubDate>Sun, 09 Aug 2026 13:11:22 GMT</pubDate>
            <description><![CDATA[Service Worker 是浏览器中唯一能实现离线优先的技术基石。本文从生命周期、缓存策略矩阵、Workbox 工程化、消息推送、后台同步到更新策略，系统梳理 PWA 离线优先架构的完整工程方案，并讨论 PWA 在 2026 年的定位和适用场景。]]></description>
        </item>
        <item>
            <title><![CDATA[Web3 DApp 性能优化：RPC 请求与链上数据缓存]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/web3-dapp-performance.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/web3-dapp-performance.html</guid>
            <pubDate>Fri, 07 Aug 2026 19:44:35 GMT</pubDate>
            <description><![CDATA[系统性分析 DApp 性能瓶颈，涵盖 RPC 批量请求、多节点轮询、SWR 缓存策略、索引服务对比及 bundle 优化]]></description>
        </item>
        <item>
            <title><![CDATA[前端错误边界与降级策略：构建弹性应用]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/frontend-error-boundary-fallback.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/frontend-error-boundary-fallback.html</guid>
            <pubDate>Wed, 05 Aug 2026 19:30:18 GMT</pubDate>
            <description><![CDATA[前端应用的弹性不只是捕获错误，更是在错误发生后让用户依然能完成任务。本文从错误分类、框架级错误边界、全局捕获、降级策略设计、错误上报到灰度熔断，系统梳理构建弹性前端应用的完整工程方案。]]></description>
        </item>
        <item>
            <title><![CDATA[Pinia 大型项目状态管理：模块化设计与持久化策略]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/08/pinia-large-scale-state-management.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/08/pinia-large-scale-state-management.html</guid>
            <pubDate>Sun, 02 Aug 2026 16:27:05 GMT</pubDate>
            <description><![CDATA[Pinia 在大型项目中面临的挑战不是 API 用法，而是架构设计：Store 如何按功能域拆分、跨 Store 依赖如何管理、状态持久化如何兼顾性能与一致性、SSR 场景下的 hydration 如何处理。本文从实际项目经验出发，系统梳理 Pinia 大型项目的状态管理架构。]]></description>
        </item>
        <item>
            <title><![CDATA[前端测试金字塔重构：从单元到 E2E 的策略演进]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/frontend-test-pyramid-restructured.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/frontend-test-pyramid-restructured.html</guid>
            <pubDate>Fri, 31 Jul 2026 19:23:17 GMT</pubDate>
            <description><![CDATA[传统测试金字塔模型在前端领域水土不服。本文从 Testing Trophy 模型出发，重新审视前端测试的分层策略：单元测试的边界、组件测试的查询哲学、视觉回归、契约测试、E2E 成本控制，以及 CI 中的分层执行策略。]]></description>
        </item>
        <item>
            <title><![CDATA[智能合约前端集成架构：Web3 DApp 的工程实践]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/web3-dapp-frontend-architecture.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/web3-dapp-frontend-architecture.html</guid>
            <pubDate>Wed, 29 Jul 2026 20:28:31 GMT</pubDate>
            <description><![CDATA[Web3 DApp 的前端架构与传统 Web 应用存在根本差异：去中心化数据源、钱包身份验证、异步交易确认。本文从以太坊交互层封装、多钱包适配、ABI 类型安全、链上数据缓存到交易状态管理，系统梳理 DApp 前端的工程实践。]]></description>
        </item>
        <item>
            <title><![CDATA[浏览器渲染管线与合成层优化：从像素到屏幕的完整链路]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/browser-rendering-compositing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/browser-rendering-compositing.html</guid>
            <pubDate>Sun, 26 Jul 2026 18:26:07 GMT</pubDate>
            <description><![CDATA[深入浏览器渲染管线的每个阶段，理解合成层的创建条件与 GPU 加速原理，掌握 60fps 复杂动画的优化方法论。]]></description>
        </item>
        <item>
            <title><![CDATA[Angular 23 依赖注入与 Tree-shaking：编译时优化的新方向]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/angular-23-di-tree-shaking.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/angular-23-di-tree-shaking.html</guid>
            <pubDate>Fri, 24 Jul 2026 16:38:26 GMT</pubDate>
            <description><![CDATA[深入 Angular 23 编译时依赖注入系统的工作原理、Tree-shakable providers 的实现机制，以及与 Vue/React 依赖注入方案的对比分析。]]></description>
        </item>
        <item>
            <title><![CDATA[前端内存泄漏诊断与防御体系：从 Chrome DevTools 到自动化检测]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/frontend-memory-leak-detection.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/frontend-memory-leak-detection.html</guid>
            <pubDate>Wed, 22 Jul 2026 16:00:49 GMT</pubDate>
            <description><![CDATA[系统梳理前端内存泄漏的常见模式、Chrome DevTools 诊断方法、弱引用的正确使用，以及基于 Puppeteer 的自动化内存泄漏检测方案。]]></description>
        </item>
        <item>
            <title><![CDATA[Gas 估算与优化：前端 Gas 管理实践]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/gas-estimation-optimization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/gas-estimation-optimization.html</guid>
            <pubDate>Mon, 20 Jul 2026 16:24:17 GMT</pubDate>
            <description><![CDATA[深入解析 EIP-1559 Gas 机制、前端 Gas 估算 API、批量交易优化策略及 L2 Gas 估算差异]]></description>
        </item>
        <item>
            <title><![CDATA[AI 驱动的设计系统自动化：从 Token 生成到组件验证]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/ai-design-system-automation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/ai-design-system-automation.html</guid>
            <pubDate>Sat, 18 Jul 2026 12:22:00 GMT</pubDate>
            <description><![CDATA[探讨 LLM 在设计系统全链路中的应用：从设计 Token 自动推导、组件代码生成到一致性验证，构建 AI 辅助的设计系统工程化方案。]]></description>
        </item>
        <item>
            <title><![CDATA[V8 引擎隐藏类与内联缓存：JavaScript 性能的底层密码]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/v8-hidden-class-inline-cache.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/v8-hidden-class-inline-cache.html</guid>
            <pubDate>Wed, 15 Jul 2026 10:34:13 GMT</pubDate>
            <description><![CDATA[深入 V8 引擎的 Hidden Class 与 Inline Cache 机制，理解 JavaScript 对象属性访问的底层优化原理，写出性能友好的代码。]]></description>
        </item>
        <item>
            <title><![CDATA[Vite 构建产物分析与代码分割策略：从 Bundle 到运行时]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/vite-bundle-analysis-code-splitting.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/vite-bundle-analysis-code-splitting.html</guid>
            <pubDate>Sun, 12 Jul 2026 11:15:41 GMT</pubDate>
            <description><![CDATA[Vite 生产构建基于 Rollup/Rolldown 打包，代码分割策略直接影响首屏性能。本文详解 manualChunks 配置、动态 import、modulepreload 预加载、Tree Shaking 陷阱和 CSS 分割，展示将 500KB 首屏 bundle 优化到 80KB 的完整过程。]]></description>
        </item>
        <item>
            <title><![CDATA[React 22 Compiler 编译优化原理：自动 Memoization 如何工作]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/react-compiler-memoization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/react-compiler-memoization.html</guid>
            <pubDate>Fri, 10 Jul 2026 21:37:01 GMT</pubDate>
            <description><![CDATA[React Compiler 通过编译期静态分析自动插入 memoization 逻辑，消除手动 useMemo/useCallback 的负担。本文分析编译器的工作原理、输出代码结构、限制条件，并与 Vue Vapor Mode 做编译策略对比。]]></description>
        </item>
        <item>
            <title><![CDATA[CSS Anchor Positioning 实战：声明式定位的新范式]]></title>
            <link>https://fonghehe.github.io/blog/posts/2026/07/css-anchor-positioning.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/posts/2026/07/css-anchor-positioning.html</guid>
            <pubDate>Wed, 08 Jul 2026 14:50:02 GMT</pubDate>
            <description><![CDATA[CSS Anchor Positioning API 让浮动元素的定位从 JavaScript 回归 CSS。本文详解 anchor-name、position-anchor、position-try 等核心属性，通过 Tooltip、Popover、Dropdown 的纯 CSS 实现展示声明式定位的实践。]]></description>
        </item>
    </channel>
</rss>