返回首页
GitHub(@github)

After overhauling the React architecture of GitHub's "Files changed" tab, we dropped Interaction to ...

8.5Score
After overhauling the React architecture of GitHub's "Files changed" tab, we dropped Interaction to ...
AI 深度提炼
  • 将 INP 从 450ms 降至 100ms
  • 每行 React 组件从 8 个减少到 2 个
  • 使用 JS Maps 实现 O(1) 数据访问
#React#性能优化#前端
打开原文

📉 React components cut from 8 to 2 per line 🔑 O(1) data access with JS Maps 🪟 Window virtualization for giant PRs" / X

Post

Conversation

![Image 1: Square profile picture](https://x.com/github)

GitHub

@github

After overhauling the React architecture of GitHub's "Files changed" tab, we dropped Interaction to Next Paint (INP) from ~450ms to ~100ms. !Image 2: 📉 React components cut from 8 to 2 per line !Image 3: 🔑 O(1) data access with JS Maps !Image 4: 🪟 Window virtualization for giant PRs

6:58 PM · Apr 21, 2026

20K Views

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Trending now

What’s happening

Trending in United States

#allfire!Image 5

Trending in United States

Good Wednesday

Trending in United States

#MLBS6Spoilers

Sports · Trending

Vando

Show more

Terms of Service

|

Privacy Policy

|

Cookie Policy

|

Accessibility

|

Ads info

|

© 2026 X Corp.