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
After upgrading to React 18, we're seeing a react console error:
(error text: "ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17.")
When calling singleSpaReact with renderType = hydrate:
importReactfrom"react";importReactDOMfrom"react-dom";importsingleSpaReactfrom"single-spa-react";/* truncated for brevity */singleSpaReact({
React,
ReactDOM,
rootComponent,
domElementGetter,renderType: "hydrate"});
Will hydrateRoot be supported in PR #148? Do you know when that PR will be merged?
P.S. the need for our project is not urgent, just curious to know the timeline for planning purposes.
The text was updated successfully, but these errors were encountered:
After upgrading to React 18, we're seeing a react console error:

(error text: "ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17.")
When calling singleSpaReact with renderType = hydrate:
Will hydrateRoot be supported in PR #148? Do you know when that PR will be merged?
P.S. the need for our project is not urgent, just curious to know the timeline for planning purposes.
The text was updated successfully, but these errors were encountered: