<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>前端成長記錄</title>
        <link>https://fonghehe.github.io/blog/zh-tw/</link>
        <description>一個前端工程師從 2018 年開始的學習與成長記錄。</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-TW</language>
        <image>
            <title>前端成長記錄</title>
            <url>https://fonghehe.github.io/blog/social-card.png</url>
            <link>https://fonghehe.github.io/blog/zh-tw/</link>
        </image>
        <copyright>MIT Licensed - 前端成長記錄 2018-2026</copyright>
        <item>
            <title><![CDATA[金額輸入與捨入契約：顯示兩位小數不等於計算準確]]></title>
            <link>https://fonghehe.github.io/blog/zh-tw/posts/2026/11/decimal-money-input-rounding.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/11/etag-concurrent-edit-conflicts.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/11/camera-resource-lease-lifecycle.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/11/ime-composition-input-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/url-query-state-canonicalization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/undo-redo-command-history.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/large-download-stream-lifecycle.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/web-locks-leader-fencing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/sse-framing-fetch-streams.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/csv-export-data-boundary.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/timezone-calendar-intent.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/unicode-grapheme-offset-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/10/cursor-pagination-consistency.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/mobile-accessibility-rn-flutter.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/mobile-release-rollout-gates.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/flutter-feature-testing-pyramid.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/react-native-native-module-boundary.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/flutter-form-async-validation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/react-native-push-inbox-consistency.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/mobile-session-storage.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/mobile-deep-link-security.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/flutter-frame-jank-investigation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/react-native-list-performance-diagnosis.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/mobile-screen-state-contract.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/flutter-offline-write-queue.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/09/react-native-appstate-refresh.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/web3-realtime-data-subscription.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/angular-hydration-strategies.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/frontend-contract-testing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/dependency-upgrade-automation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/css-style-queries.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/vue-ssr-streaming-modern.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/react-router-7-framework-mode.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/loaf-long-animation-frames.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/ts-native-compiler-tsgo-migration.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/service-worker-offline-first.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/web3-dapp-performance.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/frontend-error-boundary-fallback.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/08/pinia-large-scale-state-management.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/frontend-test-pyramid-restructured.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/web3-dapp-frontend-architecture.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/browser-rendering-compositing.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/angular-23-di-tree-shaking.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/frontend-memory-leak-detection.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/gas-estimation-optimization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/ai-design-system-automation.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/v8-hidden-class-inline-cache.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/vite-bundle-analysis-code-splitting.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/react-compiler-memoization.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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/zh-tw/posts/2026/07/css-anchor-positioning.html</link>
            <guid isPermaLink="false">https://fonghehe.github.io/blog/zh-tw/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>