-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: upgrade dependencies * feat(src/animate.ts): migrate to @excalidraw/excalidraw v0.15 api * feat(src/index.tsx): switch to the React 18 API (use createRoot instead of ReactDOM.render)
- Loading branch information
Showing
4 changed files
with
2,368 additions
and
1,995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import React from "react"; | ||
import ReactDOM from "react-dom"; | ||
import "./index.css"; | ||
import { createRoot } from "react-dom/client"; | ||
|
||
import App from "./App"; | ||
import "./index.css"; | ||
|
||
ReactDOM.render( | ||
const container = document.getElementById("root"); | ||
const root = createRoot(container!); | ||
root.render( | ||
<React.StrictMode> | ||
<App /> | ||
</React.StrictMode>, | ||
document.getElementById("root") | ||
</React.StrictMode> | ||
); |
Oops, something went wrong.