<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Hooks on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/Hooks/</link>
    <description>Recent content in Hooks on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 31 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/Hooks/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Jetpack Compose 与 React Hooks 副作用陷阱完全对应解析</title>
      <link>https://index.zshipu.com/geek/post/20260831/Jetpack-Compose-%E4%B8%8E-React-Hooks-%E5%89%AF%E4%BD%9C%E7%94%A8%E9%99%B7%E9%98%B1%E5%AE%8C%E5%85%A8%E5%AF%B9%E5%BA%94%E8%A7%A3%E6%9E%90/</link>
      <pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/20260831/Jetpack-Compose-%E4%B8%8E-React-Hooks-%E5%89%AF%E4%BD%9C%E7%94%A8%E9%99%B7%E9%98%B1%E5%AE%8C%E5%85%A8%E5%AF%B9%E5%BA%94%E8%A7%A3%E6%9E%90/</guid>
      <description>Jetpack Compose 中的 @Composable 函数、remember、MutableState 以及 LaunchedEffect 这些概念深受 React 启发，这套副作用机制让开发者不断面对无限循环、竞态条件以及清理遗漏等陷阱。 信号中的文章直指 Hooks 核心问题，理解其映射关系才能在真实项目中规避风险。 LaunchedEffect 与 useEffect 的映射暴露出副作用根本风险 Jetpack Compose 的 LaunchedEffect 对应 React 的 useEff</description>
    </item>
  </channel>
</rss>
