<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moritamorie</author_name>
  <author_url>https://blog.hatena.ne.jp/moritamorie/</author_url>
  <blog_title>Composable Life</blog_title>
  <blog_url>https://blog.moritamori.net/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>React hooks</anon>
  </categories>
  <description>React hooksで実装したSPAアプリをChromeで動かした際に、以下のWarningが表示されていたので対処してみました。 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s&quot;,&quot;a useEffect cleanup functi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.moritamori.net%2Fentry%2Fstop-react-hooks-warning&quot; title=&quot;【React hooks】&amp;quot;Warning: Can&amp;#39;t perform a React state update on an unmounted component.&amp;quot;の止め方 - Composable Life&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>2021-01-03 18:24:35</published>
  <title>【React hooks】&quot;Warning: Can't perform a React state update on an unmounted component.&quot;の止め方</title>
  <type>rich</type>
  <url>https://blog.moritamori.net/entry/stop-react-hooks-warning</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
