<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>ajax</anon>
    <anon>axios</anon>
    <anon>vue</anon>
  </categories>
  <description>フロントエンドで初期データを外部APIから取得したい場合があります。 データ通信はajax を用いるのは一般的です。 ajaxでデータを取得して画面内の要素を更新したり、スクリプト内の変数に変更を加えたりという事をします。 この通信をあらかじめ済ませておきたい場合はどうしたら良いでしょうか？ 今回は、通信を待ってから(同期してから)処理を行う方法について触れます。 目次 目次 「非同期通信を同期処理する」とは 同期通信と非同期通信について 同期処理と非同期処理について 今回の目標 使用するライブラリ ソース コンポーネント エントリーポイント Dom 外部ファイルに処理を切り出す mixin用…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2021%2F05%2F15%2F164534&quot; title=&quot;【javascript】非同期通信を同期処理する - websandbag ブログ&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/nakahashi_h/20200630/20200630162830.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-15 16:45:34</published>
  <title>【javascript】非同期通信を同期処理する</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2021/05/15/164534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
