SIGN IN SIGN UP

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

0 0 27 JavaScript

feat: Use concurrent React when available (#937)

BREAKING CHANGE: If you have React 18 installed, we'll use the new [`createRoot` API](https://github.com/reactwg/react-18/discussions/5) by default which comes with a set of [changes while also enabling support for concurrent features](https://github.com/reactwg/react-18/discussions/4).
To can opt-out of this change by using `render(ui, { legacyRoot: true } )`. But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.
S
Sebastian Silbermann committed
c888cb6e7afab8719ba385838a9323237357d514
Parent: 84851dc
Committed by GitHub <noreply@github.com> on 9/13/2021, 8:49:05 AM