react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

performance and graphical issues when using create-react-app

Open jbflow opened this issue 2 years ago • 3 comments

I've tried setting this up following the documentation inside an app bootstrapped with

yarn create react-app my-app --template typescript

But this results in performance and graphical issues. Most notably when dragging nodes they do not follow the mouse and drop in random places. Also links often get left behind.

Is this an issue with using CRA or something else?

jbflow avatar Oct 14 '21 12:10 jbflow

I have the same question, sometimes it works but it always lags

Lemon71 avatar Nov 02 '21 08:11 Lemon71

Performance issues only in the current published version of the npm package. I will publish a fork with fixes later.

nosferatu500 avatar Dec 09 '21 06:12 nosferatu500

fork with performance improvements: yarn add @nosferatu500/react-diagrams

nosferatu500 avatar Dec 09 '21 08:12 nosferatu500