You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error when using React 18 react@alpha or react@experimental
I'm using React18 to get the new Suspense feature. When doing so, I have to upgrade ReactDOM which now throws an error to use createRoot instead of render
Suggested implementation:
Build in support for both createRoot and render
Describe alternatives you've considered:
In the testing-library@alpha build it to work with react-dom@alpha
The text was updated successfully, but these errors were encountered:
chrisbull
changed the title
Fix to support React 18, which uses ReactDOM createRoot instead of render
Support React 18, which uses ReactDOM createRoot instead of renderJun 13, 2021
chrisbull
changed the title
Support React 18, which uses ReactDOM createRoot instead of render
Support React 18 which uses ReactDOM createRoot instead of renderJun 13, 2021
I'm using React18 to get the new Suspense feature. When doing so, I have to upgrade ReactDOM which now throws an error to use createRoot instead of render
It should log an error to the console not throw if I remember correctly.
Closing as a duplicate of #509. You can try #925 in the meantime.
Describe the feature you'd like:
Getting error when using React 18
react@alpha
orreact@experimental
I'm using React18 to get the new Suspense feature. When doing so, I have to upgrade ReactDOM which now throws an error to use
createRoot
instead ofrender
Suggested implementation:
Build in support for both
createRoot
andrender
Describe alternatives you've considered:
In the
testing-library@alpha
build it to work withreact-dom@alpha
Teachability, Documentation, Adoption, Migration Strategy:
See this for documentation: reactwg/react-18#5
The text was updated successfully, but these errors were encountered: