<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ninjinkun</author_name>
  <author_url>https://blog.hatena.ne.jp/ninjinkun/</author_url>
  <blog_title>ninjinkun's diary</blog_title>
  <blog_url>https://ninjinkun.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>この記事はPWA Advent Calendar 21日目の記事です。 create-react-appのService Workerサポートを使ってお手軽にオフラインキャッシュを組み込んでみたので、調べたことをメモします。とりあえずすぐにオフラインでPWAが動かせるようになって便利です。 使い方 create-react-app でアプリを生成していればindex.js|tsで import { register } from './serviceWorker'; register(); するだけ。 内部 create-react-app（2.0以上の場合、現在は2.1.4）のService…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fninjinkun.hatenablog.com%2Fentry%2Fcreate-react-app-sw&quot; title=&quot;create-react-appのService Workerサポートで手軽にオフラインキャッシュを使う - ninjinkun&amp;#39;s diary&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/n/ninjinkun/20181221/20181221091751.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-21 18:09:52</published>
  <title>create-react-appのService Workerサポートで手軽にオフラインキャッシュを使う</title>
  <type>rich</type>
  <url>https://ninjinkun.hatenablog.com/entry/create-react-app-sw</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
