<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>ReactのuseEffect入門：基本から気をつけることまで はじめに useEffect はReactコンポーネントで副作用（APIフェッチ・タイマー・イベントリスナーなど）を扱うためのフックです。便利な一方で、使い方を誤ると無限ループやメモリリークが起きやすいため、注意点を理解しておくことが重要です。 useEffectの基本 useEffect(処理, [依存配列]) の形で書きます。 import { useEffect } from 'react'; function Component() { useEffect(() =&gt; { console.log('実行された'); }, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F21%2F074944&quot; title=&quot;ReactのuseEffect入門：基本から気をつけることまで - Engineering Tech Dojo&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-05-21 07:49:44</published>
  <title>ReactのuseEffect入門：基本から気をつけることまで</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/21/074944</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
