<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakamurakko</author_name>
  <author_url>https://blog.hatena.ne.jp/nakamurakko/</author_url>
  <blog_title>nakamurakko’s blog</blog_title>
  <blog_url>https://nakamurakko.com/</blog_url>
  <categories>
    <anon>React</anon>
  </categories>
  <description>環境 React 19.1 dependencies が同じ useEffect を定義した場合、 dependencies が変更されたタイミングで、どちらも呼び出される。 import './App.css'; import React, { useEffect, useState } from 'react'; export default function App(): React.JSX.Element { const [clickCount, setClickCount] = useState&lt;number&gt;(0); const [text, setText] = useState…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamurakko.com%2Fentry%2F2025%2F08%2F25%2F180253&quot; title=&quot;React useEffect の dependencies に気を付ける - nakamurakko’s blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nakamurakko/20250825/20250825162258.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-25 18:02:53</published>
  <title>React useEffect の dependencies に気を付ける</title>
  <type>rich</type>
  <url>https://nakamurakko.com/entry/2025/08/25/180253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
