hey facebook, creating a new post lags 1.9ms per keystroke 🚩
the first thing i checked after this was renders
React Scan () tells me that there are renders
i'm skeptical that it's the cause (processing is probably controlled by rich text input library) and it's already using React Compiler github.com/aidenybai/reac…
Nov 14, 2024 • 7 tweets • 3 min read
Introducing React Scan:
A drop in script to scan your React app for slow performance and renders
Try it now - it's open source!
Previous tools required manual code change and lacked simple visual cues.
Instead, React Scan automatically detects bad renders. This shows you exactly what you need to fix, and takes <60 seconds to setup (I bet you 🫵)