diff --git a/docs/react-testing-library/api.mdx b/docs/react-testing-library/api.mdx index 359bc1134..67009798c 100644 --- a/docs/react-testing-library/api.mdx +++ b/docs/react-testing-library/api.mdx @@ -107,6 +107,8 @@ your components. ### `legacyRoot` +**WARNING**: This option is only available when tests run with React 18 and earlier. + By default we'll render with support for concurrent features (i.e. [`ReactDOMClient.createRoot`](https://reactjs.org/docs/react-dom-client.html#createroot)). However, if you're dealing with a legacy app that requires rendering like in