hypernova-react
hypernova-react copied to clipboard
ReactDOM.hydrate is no longer supported in React 18
Hi Everyone!
On the execution of this line
import { renderReact } from 'hypernova-react';
.
.
.
renderReact('App', ReduxApp);
I am seeing the following error in the console.
Is this on hypernova's end or on my end?
Seems like a reasonable PR to use hydrateRoot when present, and fall back to hydrate? Luckily it still works, it just logs the warning.
@elitedeveloper I've created a fork to resolve this You can try https://github.com/samiashi/hypernova-react