<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mkk45</author_name>
  <author_url>https://blog.hatena.ne.jp/mkk45/</author_url>
  <blog_title>3歩進んで2歩下がる</blog_title>
  <blog_url>https://mkk45.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに Remix で以下のような toast notification を実装する方法について試行錯誤したログです。 今回紹介するサンプル実装はこちらのリポジトリに置いています。 https://github.com/Kazuhiro-Mimaki/remix-toast-notification 単一のページにおける toast まずは単一のページ内で何かしらのデータを送信し、その成功・失敗を toast で表現したいというケースについて考えます。 実装はシンプルで form submit -&gt; action のレスポンスを useActionData で取得 -&gt; toast を表示と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmkk45.hatenablog.com%2Fentry%2F2024%2F10%2F30%2F230111&quot; title=&quot;Remixの toast notification - 3歩進んで2歩下がる&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://storage.googleapis.com/zenn-user-upload/30cb39112edf-20231210.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-30 23:01:11</published>
  <title>Remixの toast notification</title>
  <type>rich</type>
  <url>https://mkk45.hatenablog.com/entry/2024/10/30/230111</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
