<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>InfoQ - JavaScript Libraries - News</title>
    <link>https://www.infoq.com</link>
    <description>InfoQ JavaScript Libraries News feed</description>
    <item>
      <title>Pretext.js Bypasses DOM Layout Reflow, Enabling Advanced UX Patterns at 120 FPS</title>
      <link>https://www.infoq.com/news/2026/04/pretext-js-120fps-text-layout/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=JavaScript+Libraries-news</link>
      <description>&lt;img src="https://res.infoq.com/news/2026/04/pretext-js-120fps-text-layout/en/headerimage/generatedHeaderImage-1776650733551.jpg"/&gt;&lt;p&gt;Cheng Lou, a Midjourney engineer, recently released Pretext, a 15KB open-source TypeScript library that measures and lays out text without browser layout reflows, enabling advanced UX/UI patterns like infinite lists, masonry layouts, and scroll position anchoring to run at 60-120 fps. Pretext was built using an AI loop that reverse-engineered the DOM’s layout calculations.&lt;/p&gt; &lt;i&gt;By Bruno Couriol&lt;/i&gt;</description>
      <category>JavaScript Libraries</category>
      <category>Web Development</category>
      <category>TypeScript</category>
      <category>Development</category>
      <category>news</category>
      <pubDate>Mon, 20 Apr 2026 12:59:00 GMT</pubDate>
      <guid>https://www.infoq.com/news/2026/04/pretext-js-120fps-text-layout/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=JavaScript+Libraries-news</guid>
      <dc:creator>Bruno Couriol</dc:creator>
      <dc:date>2026-04-20T12:59:00Z</dc:date>
      <dc:identifier>/news/2026/04/pretext-js-120fps-text-layout/en</dc:identifier>
    </item>
  </channel>
</rss>
