The scaffold code still used `ReactDOM.hydrate` which is deprecated in React 18, and needs to be replaced by something like: ```jsx const container =document.getElementById('mountNode'); const root = hydrateRoot(container, <App />); ```