React Testing Library speeds up with @ctrl/dom
The author built a specialized DOM implementation called @ctrl/dom designed specifically for React Testing Library to improve test execution speed. By using unified object shapes, optimized query caching, and virtualized timers, the custom setup significantly accelerates test suites across projects like Sentry, Base UI, and React Router compared to stock jsdom. Open article →