<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chamotarooo</author_name>
  <author_url>https://blog.hatena.ne.jp/chamotarooo/</author_url>
  <blog_title>chamotaroooのブログ</blog_title>
  <blog_url>https://chamotaro.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>この記事で分かること - React Compiler はレンダー中の Date.now() を検知してメモ化を諦める - ただし別ファイルの関数に隠れた瞬間、検知されずメモ化され、値が永久に凍る - 開発ビルドの React はキャッシュを捨てる分岐を持つので、ローカルでは気づきにくい はじめに カウントダウンの残り時間が、リロードしないと更新されない。タイマーは動いている。setTimeout も発火している。なのに画面の数字だけが初回の値で止まっている。 原因は、ユーティリティ関数に切り出した1行でした。切り出す前は動いていた。切り出した後は凍った。処理内容は1文字も変えていないのに。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Freact-compiler-purity-cross-module&quot; title=&quot;React Compilerがレンダー中のDate.now()を守ってくれるのは、同じファイルにあるときだけ - chamotaroooのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-10-25 10:09:14</published>
  <title>React Compilerがレンダー中のDate.now()を守ってくれるのは、同じファイルにあるときだけ</title>
  <type>rich</type>
  <url>https://chamotaro.hatenablog.com/entry/tech/react-compiler-purity-cross-module</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
