<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hachibeechan</author_name>
  <author_url>https://blog.hatena.ne.jp/hachibeechan/</author_url>
  <blog_title>タオルケット体操</blog_title>
  <blog_url>https://hachibeechan.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>JavaScript</anon>
    <anon>React</anon>
  </categories>
  <description>もちろんケースバイケースなんだけど、パンくずリストというのは全体のレイアウトに属していながらマウントされる要素に従属して中身が変わるという点でちょっと厄介。 具体的にどういうケースで厄介かというと、ヘッダやサイドバーなどをまとめたpage layout的なコンポーネントを大枠に作り、内部の表示をreact-routerで切り替えている場合。業務アプリとかでやりがちなんじゃないかなとおもう。 ざっくりお気持ち擬似コード。 const PageLayout = (breadcrumbs: readonly Breadcrumb[]) =&gt; { &lt;Layout&gt; &lt;Header breadcrumb…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachibeechan.hateblo.jp%2Fentry%2Fa-pattern-to-implement-breadcumbs-in-react-app&quot; title=&quot;ReactにおけるBreadcrumb（パンくず）実装のパターン - タオルケット体操&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>2019-07-08 19:46:22</published>
  <title>ReactにおけるBreadcrumb（パンくず）実装のパターン</title>
  <type>rich</type>
  <url>https://hachibeechan.hateblo.jp/entry/a-pattern-to-implement-breadcumbs-in-react-app</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
