<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taisei_miyaji</author_name>
  <author_url>https://blog.hatena.ne.jp/taisei_miyaji/</author_url>
  <blog_title>じぶん対策</blog_title>
  <blog_url>https://taisei-miyaji.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに 最近ReactやNext.jsを触る機会が多いのですが、スマレジでの業務で使用しているわけではないため、キャッチアップがおろそかになっているなあと感じています。 今回は、Reactに触れる上で必須かつVueとの違いにおいて重要な仕組みであるuseEffectについて公式サイトを確認してみます。 useEffectとは何か 公式サイトにあるuseEffectの呼び出し方は以下のようになっています。 useEffect(setup, dependencies?) ReactのuseEffectは、コンポーネントのライフサイクルを扱うための重要なフックです。副作用とは、データの取得、購読の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaisei-miyaji.hatenadiary.com%2Fentry%2F2023%2F06%2F26%2F211903&quot; title=&quot; ReactのuseEffectをきちんと理解する - じぶん対策&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>2023-06-26 21:19:03</published>
  <title> ReactのuseEffectをきちんと理解する</title>
  <type>rich</type>
  <url>https://taisei-miyaji.hatenadiary.com/entry/2023/06/26/211903</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
