<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>serip39</author_name>
  <author_url>https://blog.hatena.ne.jp/serip39/</author_url>
  <blog_title>7839</blog_title>
  <blog_url>https://serip39.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>React</anon>
  </categories>
  <description>React の SPA を実装する際に、画面遷移時にローディング画面を挿入したいことがある。今回、React v16.6 から利用可能になったReact.lazy と React.Suspense を初めて使ってみたので、備忘録として残しておく。 React.lazy とは React.Suspense とは React.lazy + React.Suspense + React Router の実装 まとめ 関連資料 React.lazy とは React.lazy を使用することで、動的に読み込んだコンポーネントを通常のコンポーネントとしてレンダリングすることができるようになる。 // 従…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fserip39.hatenablog.com%2Fentry%2F2020%2F09%2F23%2F190000&quot; title=&quot;【React】React.lazy + React.Suspense + React Routerを使ったローディング画面実装とコード分割 - 7839&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/s/serip39/20200720/20200720055532.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-23 19:00:00</published>
  <title>【React】React.lazy + React.Suspense + React Routerを使ったローディング画面実装とコード分割</title>
  <type>rich</type>
  <url>https://serip39.hatenablog.com/entry/2020/09/23/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
