Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bm react 18 upgrade rwv #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 4 additions & 4 deletions demo/demo.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -269,6 +269,6 @@ function ParsingOptsCheckboxes(props){
);
}


ReactDOM.render(<DemoApp />, document.getElementById("root"));

const container = document.getElementById('root');
const root = createRoot(container);
root.render(<DemoApp />);
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<head>
<title>React Workflow Viz Demo</title>
<link href="./dist/react-workflow-viz.min.css" type="text/css" rel="stylesheet" />
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
<script src="./dist/react-workflow-viz.min.js"></script>
<script src="./demo/demo-compiled.js" defer></script>
<style>
Expand Down
Loading