Open dincho-kostadinov opened 2 years ago
Hey @dincho-kostadinov, have you managed to make react-diagrams work with nextjs? I am looking for an alternative to this library but I havent found nothing that has as many features as this one has.
No, Doesn't work with nextJs
На сб, 29.10.2022 г., 23:18 Sebastian Milhas @.***> написа:
Hey @dincho-kostadinov https://github.com/dincho-kostadinov, have you managed to make react-diagrams work with nextjs? I am looking for an alternative to this library but I havent found nothing that has as many features as this one has.
— Reply to this email directly, view it on GitHub https://github.com/projectstorm/react-diagrams/issues/953#issuecomment-1295961730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDDBSYN3P3FLPM4WANVOOTWFWBCXANCNFSM52JTMIWQ . You are receiving this because you were mentioned.Message ID: @.***>
Has anyone managed to overcome the performance drop when using react-diagrams in a NextJS app? I use NextJS 13 with the experimental app directory enabled and dynamically importing a example widget with 10 nodes into my page. Dragging nodes is stuttering, so render updates are very slow. Animations work fine in a Create-React-App.
What is the underlying issue here?
Greets -act
This is my diagram component
And this is how I import the component
The diagram and the nodes moves work very slow. Any idea?