Skip to content

Commit

Permalink
chore(deps): update react monorepo to v18 (major) #60
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2023
1 parent 94a60cb commit 17992b2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@kkt/less-modules": "~7.1.1",
"@kkt/ncc": "~1.0.9",
"@kkt/raw-modules": "~7.1.1",
"@kkt/scope-plugin-options": "~7.1.1",
"@types/react": "~17.0.39",
"@types/react-dom": "~17.0.11",
"@kkt/less-modules": "^7.4.9",
"@kkt/ncc": "~1.0.15",
"@kkt/raw-modules": "^7.4.9",
"@kkt/scope-plugin-options": "^7.4.9",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@uiw/react-markdown-preview": "~3.5.0",
"@uiw/react-github-corners": "~1.5.3",
"@uiw/react-shields": "~1.1.2",
"@uiw/reset.css": "~1.0.5",
"compile-less-cli": "~1.8.11",
"react": "~17.0.2",
"react-dom": "~17.0.2",
"kkt": "~7.1.5",
"@uiw/react-github-corners": "^1.5.15",
"@uiw/react-shields": "^1.1.3",
"@uiw/reset.css": "^1.0.6",
"compile-less-cli": "^1.8.14",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"kkt": "^7.4.9",
"tsbb": "~3.7.0"
},
"eslintConfig": {
Expand Down
7 changes: 4 additions & 3 deletions website/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import * as ReactDOMClient from 'react-dom/client';
import App from './App'

ReactDOM.render(<App />, document.getElementById('root'));
const container = document.getElementById('root');
const root = ReactDOMClient.createRoot(container!);
root.render(<App />);

0 comments on commit 17992b2

Please sign in to comment.