Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

React 18

Danielb81f4e276957
diff --git a/src/index.js b/src/index.js
index 02505c0b..6ed5681f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,9 +1,11 @@
-import React from 'react';
-import ReactDOM from 'react-dom';
-import './styles/index.css';
-import App from './App';
+import React from "react";
+import ReactDOM from "react-dom/client";
+import "./styles/index.css";
+import App from "./App";
-ReactDOM.render(
- <App />,
- document.getElementById('root')
-);
+const root = ReactDOM.createRoot(document.getElementById("root"));
+root.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>
+);
\ No newline at end of file