diff --git a/CHANGELOG.md b/CHANGELOG.md index d8cab64..8116dca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ - [View releases on NPM](https://www.npmjs.com/package/@hms-dbmi-bgm/react-workflow-viz?activeTab=versions) - [View releases on Unpkg](https://unpkg.com/browse/@hms-dbmi-bgm/react-workflow-viz/) +#### 2024-04-24 (v0.1.11) +- Update to use React v18 + +#### 2023-09-19 (v0.1.10) +- Dependency updates + #### 2023-05-17 (v0.1.9) - No changes except `package-lock.json` + `package.json` version (new NPM release) diff --git a/demo/demo.js b/demo/demo.js index 5ff738e..0f3525b 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -1,5 +1,5 @@ import { Component } from 'react'; -import ReactDOM from 'react-dom'; +import { createRoot } from 'react-dom/client'; import _ from 'underscore'; import url from 'url'; import { default as packageJSON } from './../package.json'; @@ -269,6 +269,6 @@ function ParsingOptsCheckboxes(props){ ); } - -ReactDOM.render(, document.getElementById("root")); - +const container = document.getElementById('root'); +const root = createRoot(container); +root.render(); \ No newline at end of file diff --git a/index.html b/index.html index 798a8b6..876b7d2 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,8 @@ React Workflow Viz Demo - - + +