<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>React on Kevin&#39;s Blog</title>
    <link>https://bloglee.pages.dev/tags/react/</link>
    <description>Recent content in React on Kevin&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Sun, 02 Mar 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://bloglee.pages.dev/tags/react/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Next.js 基础知识</title>
      <link>https://bloglee.pages.dev/post/basics-of-nextjs/</link>
      <pubDate>Sun, 02 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/basics-of-nextjs/</guid>
      <description>&lt;h2 id=&#34;use-client-指令&#34;&gt;use client 指令&lt;/h2&gt;&#xA;&lt;p&gt;可以，简单总结就是：&lt;/p&gt;&#xA;&lt;h3 id=&#34;use-client-是什么&#34;&gt;&lt;code&gt;use client&lt;/code&gt; 是什么&lt;/h3&gt;&#xA;&lt;p&gt;它是 Next.js 里的一个标记，表示：&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;这个组件要在浏览器端运行。&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;写了它之后，这个组件就变成 &lt;strong&gt;Client Component&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h3 id=&#34;加了之后会怎样&#34;&gt;加了之后会怎样&lt;/h3&gt;&#xA;&lt;h4 id=&#34;1-可以使用浏览器相关能力&#34;&gt;1. 可以使用浏览器相关能力&lt;/h4&gt;&#xA;&lt;p&gt;比如：&lt;/p&gt;</description>
    </item>
    <item>
      <title>React 基础知识</title>
      <link>https://bloglee.pages.dev/post/basics-of-react/</link>
      <pubDate>Sun, 02 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/basics-of-react/</guid>
      <description>&lt;h2 id=&#34;客户端渲染client-side-rendering&#34;&gt;客户端渲染（Client Side Rendering）&lt;/h2&gt;&#xA;&lt;h2 id=&#34;服务端渲染server-side-rendering&#34;&gt;服务端渲染（Server Side Rendering）&lt;/h2&gt;&#xA;&lt;h2 id=&#34;静态站点生成static-site-generation&#34;&gt;静态站点生成（Static Site Generation）&lt;/h2&gt;&#xA;&lt;h2 id=&#34;同构渲染isomorphic-rendering&#34;&gt;同构渲染（Isomorphic Rendering）&lt;/h2&gt;&#xA;&lt;h2 id=&#34;hydration&#34;&gt;hydration&lt;/h2&gt;&#xA;&lt;h2 id=&#34;react-server-component&#34;&gt;React Server Component&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;服务器组件可以在构建时在 CI 服务器上运行一次，&lt;/li&gt;&#xA;&lt;li&gt;也可以使用 Web 服务器为每个请求运行。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;可以不需要运行时服务器&#34;&gt;可以不需要运行时服务器&lt;/h3&gt;&#xA;&lt;p&gt;只需要构建的时候有，就可以&lt;/p&gt;</description>
    </item>
    <item>
      <title>React水合</title>
      <link>https://bloglee.pages.dev/post/react-hydration/</link>
      <pubDate>Sun, 02 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/react-hydration/</guid>
      <description>&lt;h2 id=&#34;什么是水合&#34;&gt;什么是水合&lt;/h2&gt;&#xA;&lt;p&gt;React 中的 &lt;strong&gt;Hydration（水合）&lt;/strong&gt; 是服务器端渲染（SSR, Server-Side Rendering）的关键步骤，它让静态的 HTML 内容在客户端“活起来”，变为可交互的动态应用。以下是详细解释：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
