Skip to content

Commit

Permalink
feat(react): upgrade react to 18.3.1 (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenara authored Aug 13, 2024
1 parent 2df7fcd commit d0e3bc1
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 42 deletions.
6 changes: 4 additions & 2 deletions demo/App.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {useState} from 'react';
import ReactDOM from 'react-dom';
import { createRoot } from 'react-dom/client';
import {Button, Input, Sidebar, SidebarBody, SidebarNav, SidebarNavItem, Checkbox} from '@momentum-ui/react';

import WebexMeetingsWidgetDemo from './WebexMeetingsWidgetDemo';
Expand Down Expand Up @@ -85,4 +85,6 @@ export default function App() {
);
}

ReactDOM.render(<App />, document.getElementById('widgets-demo'));
const root = createRoot(document.getElementById('widgets-demo'));

root.render(<App />);
160 changes: 127 additions & 33 deletions package-lock.json

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

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
],
"dependencies": {
"@webex/component-adapter-interfaces": "^1.30.5",
"@webex/components": "^1.274.2",
"@webex/sdk-component-adapter": "1.112.6",
"webex": "^2.59.3"
"@webex/sdk-component-adapter": "1.112.7",
"webex": "^2.59.3",
"@webex/components": "1.275.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
Expand Down Expand Up @@ -96,8 +96,8 @@
"postcss-url": "^10.1.3",
"prettier": "^1.19.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "^2.59.0",
"rollup-plugin-postcss": "^4.0.0",
"sass-loader": "^10.5.2",
Expand All @@ -113,8 +113,8 @@
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"webex": "^2.59.3"
},
"babel": {
Expand Down

0 comments on commit d0e3bc1

Please sign in to comment.