<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmegos</author_name>
  <author_url>https://blog.hatena.ne.jp/tmegos/</author_url>
  <blog_title>tmegos blog</blog_title>
  <blog_url>https://tmegos.hatenablog.jp/</blog_url>
  <categories>
    <anon>React</anon>
  </categories>
  <description>Reactでできたアプリケーションのパフォーマンスチューニングのために、再レンダリングを調査し、改善したときのメモです 方針 Why Did You Renderを使って、propsやstateが同じはずなのに再レンダリングが発生しているところを見つける 1で見つかった再レンダリングについて、それぞれの原因に応じた修正を行う Why Did You Renderがログを出さなく（またはログが少なく）なるまで1と2を繰り返す React Profilerを使って、再レンダリングが発生しているところを見つける 4で見つかった再レンダリングについて、componentの分割やMemo化を試みる</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmegos.hatenablog.jp%2Fentry%2Freact-re-render-why-did-you-render&quot; title=&quot;Reactの再レンダリングをWhy Did You RenderとReact Profilerを使って調べる - tmegos 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/t/tmegos/20210411/20210411011608.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-11 02:02:19</published>
  <title>Reactの再レンダリングをWhy Did You RenderとReact Profilerを使って調べる</title>
  <type>rich</type>
  <url>https://tmegos.hatenablog.jp/entry/react-re-render-why-did-you-render</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
