As you can see here model.ts file log has repeated twice which is present in the “linkdrawn” listener. None of the other listeners are running twice…
Thanks guys!
As you can see here model.ts file log has repeated twice which is present in the “linkdrawn” listener. None of the other listeners are running twice…
Thanks guys!
This doesn’t occur in the gojs-react-basic sample after adding a LinkDrawn listener. Could you tell us what you’re doing with your LinkDrawn handler?
Forgot to reply back… It was bad of me.
This occurred due to addListener triggering twice (Due to component re-renders in react). nowhere related to goJs
sorry.Thank you so much for helping out!
Thanks for resolving the problem and telling us about it.