@testing-library/react
16.3.3 · 27 Aug 2026MIT89.5M / weekRepositoryHomepagenpmAtom feed
13.4.0 is the newest release of 13.x.
In short
1 breaking1 new
- breaking
Drop support for React 17 and earlier. We'll use the new
createRootAPI by default which comes with a set of changes while also enabling support for concurrent features. To opt-out of this change you can userender(ui, { legacyRoot: true } ). But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.
Release note
Features
Add support for React 18
Breaking changes
- breaking
Drop support for React 17 and earlier. We'll use the new
createRootAPI by default which comes with a set of changes while also enabling support for concurrent features.
To opt-out of this change you can userender(ui, { legacyRoot: true } ). But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.