Skip to content

Commit b953ada

Browse files
committed
Update to use gojs-react
1 parent a9cb353 commit b953ada

6 files changed

Lines changed: 1023 additions & 596 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
# GoJS React Basic
1+
# gojs-react-basic
22

3-
### By Northwoods Software for [GoJS 2.1 Alpha](https://gojs.net/alpha)
3+
### By Northwoods Software for [GoJS 2.1 Beta](https://gojs.net/beta)
44

55
This project provides a basic example of using GoJS in a React app.
6-
Check out the [Intro page on using GoJS with React](https://gojs.net/alpha/intro/react.html) for more information.
6+
Check out the [Intro page on using GoJS with React](https://gojs.net/beta/intro/react.html) for more information.
7+
8+
It makes use of the [gojs-react](https://github.com/NorthwoodsSoftware/gojs-react) package to handle some boilerplate for setting up and tearing down a Diagram component.
79

810
When running the sample, try moving around nodes, editing text, relinking, undoing (Ctrl-Z), etc. within the diagram
911
and you'll notice the changes are reflected in the inspector area. You'll also notice that changes
1012
made in the inspector are reflected in the diagram. If you use the React dev tools,
1113
you can inspect the React state and see it updated as changes happen.
1214

1315
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
14-
It also uses immer to simplify state update operations.
16+
It also uses [immer](https://immerjs.github.io/immer/docs/introduction) to simplify state update operations.
1517

1618
## Installation
1719

0 commit comments

Comments
 (0)