Packages

@testing-library/react

16.3.3 · 27 Aug 2026MIT89.5M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/react From 12.1.5 to 13.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 12.1.5Latest16.3.3
  1. 12.1.5yours
  2. 13.0.0target
1
change to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking13.0.0

Release by release

  1. 13.0.0

    Migration needed31 Mar 20221 new
    • breaking

      Drop support for React 17 and earlier. We'll use the new createRoot API by default which comes with a set of changes while also enabling support for concurrent features. To opt-out of this change you can use render(ui, { legacyRoot: true } ). But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.

    • new

      Add support for React 18