Skip to content

Commit

Permalink
Upgrade to React 18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaip committed Jun 3, 2023
1 parent c8bed15 commit feb2371
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 58 deletions.
85 changes: 33 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,8 +6,8 @@
"file-saver": "^2.0.5",
"idb-keyval": "^6.0.3",
"jszip": "^3.7.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ringbuf.js": "^0.3.3",
"typescript": "^5.0.4"
},
Expand Down
9 changes: 5 additions & 4 deletions src/index.tsx
@@ -1,11 +1,12 @@
import React from "react";
import ReactDOM from "react-dom";
import {createRoot} from "react-dom/client";
import "./index.css";
import App from "./App";

ReactDOM.render(
const root = createRoot(document.getElementById("root")!);

root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
</React.StrictMode>
);

0 comments on commit feb2371

Please sign in to comment.