---
title: "X 归档 2023-01-07"
date: "2023-01-07"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">3 条动态 · 图 0 · 视频 3</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1611437686958739456" id="xl-1611437686958739456-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1611437686958739456" id="xl-1611437686958739456-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/1733342770436472832/mBVPTgpn_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/Steve8708" target="_blank" rel="nofollow noopener" data-name="Steve (Builder.io)" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1733342770436472832/mBVPTgpn_bigger.jpg">@Steve8708</a><span class="x-arch-time">03:00</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1611437686958739456-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1611437686958739456-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Steve8708/status/1611437686958739456" 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">You might be using `fetch` wrong...</div>
    <div class="x-arch-text x-arch-trans">你的 `fetch` 用法可能一直都不对……</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1611437686958739456-poster.jpg" src="/cdn-media/x/2026-10/1611437686958739456-video.mp4" width="720" height="720" data-duration="92" aria-label="@Steve8708 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1611726876539604992" id="xl-1611726876539604992-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1611726876539604992" id="xl-1611726876539604992-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/1362053856247623680/q23Y_71D_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/0xca0a" target="_blank" rel="nofollow noopener" data-name="☄︎" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1362053856247623680/q23Y_71D_bigger.jpg">@0xca0a</a><span class="x-arch-time">22:10</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1611726876539604992-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1611726876539604992-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/0xca0a/status/1611726876539604992" 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">trying out frosted glass on a @splinetool scene using splines react hook. they already have their own glass-like material but transmissionmaterial gets practically even. i love that it picks up other transmissive objects, meshphysicalmaterial never could.<br /><br /><a href="https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js" target="_blank" rel="noopener">https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js</a></div>
    <div class="x-arch-text x-arch-trans">在 @splinetool 场景里用 spline 的 react hook 尝试磨砂玻璃。它们自带类玻璃材质，但 transmissionmaterial 几乎能达到均匀一致的效果。我最喜欢的是它能捕捉到其他透射物体，meshphysicalmaterial 从来都做不到。<br /><br /><a href="https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js" target="_blank" rel="noopener">https://codesandbox.io/s/glass-circles-copy-forked-ju368j?file=/src/App.js</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1611726876539604992-poster.jpg" src="/cdn-media/x/2026-10/1611726876539604992-video.mp4" width="1254" height="720" data-duration="23" aria-label="@0xca0a 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1611728492290519040" id="xl-1611728492290519040-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1611728492290519040" id="xl-1611728492290519040-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/1733342770436472832/mBVPTgpn_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/Steve8708" target="_blank" rel="nofollow noopener" data-name="Steve (Builder.io)" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1733342770436472832/mBVPTgpn_bigger.jpg">@Steve8708</a><span class="x-arch-time">22:16</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1611728492290519040-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1611728492290519040-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Steve8708/status/1611728492290519040" 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">Civet (@civetlang) is a new alternative syntax for TypeScript<br /><br />Init flame war about syntax preferences:</div>
    <div class="x-arch-text x-arch-trans">Civet（@civetlang）是一种全新的 TypeScript 替代语法<br /><br />发起一场关于语法偏好的骂战：</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1611728492290519040-poster.jpg" src="/cdn-media/x/2026-10/1611728492290519040-video.mp4" width="720" height="720" data-duration="77" aria-label="@Steve8708 的视频"></video>
  </div>
</div>
