<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>g0-I</author_name>
  <author_url>https://blog.hatena.ne.jp/g0-I/</author_url>
  <blog_title>g0の雑記</blog_title>
  <blog_url>https://g0-i.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
  </categories>
  <description>1.ページ切替の際にサーバにリクエストが飛ばないためアクセス解析が困難 ソリューションとしては、 URLが書き変わる際にEffect Hookでアクセス解析(Google Analytics等)にリクエストを発行する処理を差し込む必要がある 2.サーバがHTTPステータスコードを返せない 既存のページを削除したときにサーバが404を返さないので検索エンジンのインデックスに残り続ける そのためサイトマップやGoogle Analyticsの管理機能でフォローする必要がある。 3.ルーティングの適用単位はコンポーネント単位 サーバサイドアプリケーション(Railsの場合) URL ⇨ contro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fg0-i.hatenablog.com%2Fentry%2F2022%2F06%2F28%2F022900&quot; title=&quot;SPA開発時に知っておきたいこと3選 - g0の雑記&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>2022-06-28 02:29:00</published>
  <title>SPA開発時に知っておきたいこと3選</title>
  <type>rich</type>
  <url>https://g0-i.hatenablog.com/entry/2022/06/28/022900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
