projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.46k stars 1.16k forks source link

performance and graphical issues when using create-react-app #894

Open jbflow opened 2 years ago

jbflow commented 2 years ago

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?

Lemon71 commented 2 years ago

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

nosferatu500 commented 2 years ago

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

nosferatu500 commented 2 years ago

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