<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cohamucohamu</author_name>
  <author_url>https://blog.hatena.ne.jp/cohamucohamu/</author_url>
  <blog_title>コハム</blog_title>
  <blog_url>https://cohamu.com/</blog_url>
  <categories>
    <anon>Javascript</anon>
  </categories>
  <description>There are a lot of ways to break up long tasks in JavaScript. 記事は上記記事を意訳したものです。 ※当ブログでの翻訳記事は元サイト様に許可を得て掲載しています。 メインスレッドを長い高負荷なタスクに占有させることで、サイトのユーザーエクスペリエンスを台無しにすることは簡単です。アプリケーションがどれほど複雑になっても、イベントループは一度に一つのことしかできません。あなたのコードがメインスレッドを占領していると、他のすべての処理は待機状態になり、ユーザーがそれに気づくまでにそれほど時間はかかりません。 こちらは単純な例です：画面上の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcohamu.com%2Fentry%2F20250409%2F1744162200&quot; title=&quot;JavaScript実践術：タスク分割でUXを改善する7つのテクニック - コハム&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/c/cohamucohamu/20250408/20250408220920.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-09 10:30:00</published>
  <title>JavaScript実践術：タスク分割でUXを改善する7つのテクニック</title>
  <type>rich</type>
  <url>https://cohamu.com/entry/20250409/1744162200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
