🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
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.@types/react-dom
as a direct dependency (#1001) (149d9a9)