---
title: "X 归档 2023-04-08"
date: "2023-04-08"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">3 条动态 · 图 1 · 视频 1</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1644377550330667008" id="xl-1644377550330667008-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1644377550330667008" id="xl-1644377550330667008-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1937832118907793408/e2mSuX42_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/yjaaidi" target="_blank" rel="nofollow noopener" data-name="Younes Jaaidi" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1937832118907793408/e2mSuX42_bigger.jpg">@yjaaidi</a><span class="x-arch-time">00:32</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1644377550330667008-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1644377550330667008-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/yjaaidi/status/1644377550330667008" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">💭 An interesting property when only rendering what is in the viewport is that we less components on smaller devices... which are generally less powerful<br /><br /><a href="https://marmicode.io/blog/angular-signals-and-custom-render-strategies" target="_blank" rel="noopener">https://marmicode.io/blog/angular-signals-and-custom-render-strategies</a></div>
    <div class="x-arch-text x-arch-trans">💭 只渲染视口内的内容有一个有趣的附带效果：在性能通常较弱的小设备上，我们渲染的组件更少……<br /><br /><a href="https://marmicode.io/blog/angular-signals-and-custom-render-strategies" target="_blank" rel="noopener">https://marmicode.io/blog/angular-signals-and-custom-render-strategies</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1644377550330667008-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1644377550330667008-1.jpg" alt="@yjaaidi 的配图 1/1" loading="lazy" decoding="async" width="2048" height="735" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1644585338143113216" id="xl-1644585338143113216-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1644585338143113216" id="xl-1644585338143113216-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1649613946096173056/wCqMjdFn_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/ion3d_official" target="_blank" rel="nofollow noopener" data-name="Ion Arcades" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1649613946096173056/wCqMjdFn_bigger.jpg">@ion3d_official</a><span class="x-arch-time">14:17</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1644585338143113216-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1644585338143113216-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ion3d_official/status/1644585338143113216" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">3D HTML Form in VR 🥽 💻 🛠️<br />#threejs #b3d #javascript #vr #webgl #Oculus</div>
    <div class="x-arch-text x-arch-trans">VR 里的 3D HTML 表单 🥽 💻 🛠️<br />#threejs #b3d #javascript #vr #webgl #Oculus</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-04/1644585338143113216-poster.jpg" src="/cdn-media/x/2026-10/1644585338143113216-video.mp4" width="728" height="720" data-duration="19" aria-label="@ion3d_official 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1644623151840763905" id="xl-1644623151840763905-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1644623151840763905" id="xl-1644623151840763905-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1566948725624344576/7QR6OuRz_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/Waterplea" target="_blank" rel="nofollow noopener" data-name="Alex Inkin" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1566948725624344576/7QR6OuRz_bigger.jpg">@Waterplea</a><span class="x-arch-time">16:48</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1644623151840763905-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1644623151840763905-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Waterplea/status/1644623151840763905" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">'inert' is coming to Firefox! Soon we will no longer need focus traps or fieldset disabled hacks for making sections of our pages non-interactive during data submission loading or under imitated modal prompts 👍<br /><br />Read more:<br /><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert" target="_blank" rel="noopener">https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert</a></div>
    <div class="x-arch-text x-arch-trans">'inert' 要登陆 Firefox 了！以后在数据提交加载期间或模拟模态弹窗的场景下，要让页面某些区域不可交互，我们再也不需要焦点陷阱或 fieldset disabled 这类 hack 了 👍<br /><br />了解更多：<br /><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert" target="_blank" rel="noopener">https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert</a></div>
  </div>
</div>
