Skip to content

chore(react): change react-dom imports #13134

chore(react): change react-dom imports

chore(react): change react-dom imports #13134

Triggered via push November 7, 2023 14:05
Status Failure
Total duration 6m 1s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
eslint: adminSiteClient/Admin.tsx#L60
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: explorer/Explorer.tsx#L103
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: explorer/Explorer.tsx#L172
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: packages/@ourworldindata/components/src/CodeSnippet/CodeSnippet.tsx#L71
ReactDOM.hydrate is deprecated since React 18.0.0, use hydrateRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: packages/@ourworldindata/grapher/src/controls/globalEntitySelector/GlobalEntitySelector.tsx#L416
ReactDOM.hydrate is deprecated since React 18.0.0, use hydrateRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: packages/@ourworldindata/grapher/src/core/Grapher.tsx#L1803
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: site/AnnotatingDataValue.tsx#L72
ReactDOM.hydrate is deprecated since React 18.0.0, use hydrateRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: site/CookiePreferencesManager.tsx#L264
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: site/DataPageContent.tsx#L788
ReactDOM.hydrate is deprecated since React 18.0.0, use hydrateRoot instead, see https://reactjs.org/link/switch-to-createroot
eslint: site/DataPageV2Content.tsx#L590
ReactDOM.hydrate is deprecated since React 18.0.0, use hydrateRoot instead, see https://reactjs.org/link/switch-to-createroot
bundlewatch
Process completed with exit code 1.
testcheck
Process completed with exit code 1.