-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deps and files (#1070)
- Loading branch information
1 parent
bfd4750
commit f0ebd92
Showing
4 changed files
with
2,620 additions
and
3,302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* global document */ | ||
import {createRoot} from 'react-dom/client'; | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import Demo from './Demo'; | ||
|
||
const Root = () => <Demo />; | ||
const container = document.getElementById('main'); | ||
const root = createRoot(container!); | ||
|
||
ReactDOM.render(<Root />, document.getElementById('main')); | ||
root.render(<Demo />); |
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
Oops, something went wrong.