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

Firstly, thank you for your efforts to make awesome library. I want to ask if I can use this library with pure ES6, and can extend custome model, widget, link, node without TypeScript. Or I must use Typesccript to work with this project. Thank you in advanced!

Open TranVanKung opened this issue 7 years ago • 5 comments

TranVanKung avatar Oct 14 '19 04:10 TranVanKung

Everything is in the title :+1:

Huljo avatar Oct 16 '19 09:10 Huljo

Thank you for replying, I figured it out!

TranVanKung avatar Oct 16 '19 09:10 TranVanKung

maybe close the ticket (it is very obnoxious), if you have figured it out?

Azerothian avatar Oct 23 '19 03:10 Azerothian

Hi, do you mind briefly explain how did you do it?

AlexTo avatar Nov 21 '19 05:11 AlexTo

When you using ES6, you do need type checking like TypeScript. You can using es6 for all example of this library. First, let try to run all example and code it by yourself in es6. Some reference: https://blog.sourcerer.io/build-interactive-diagrams-with-storm-react-diagrams-f172ae26af9d http://projectstorm.cloud/react-diagrams/?path=/story/simple-usage--simple-example https://github.com/projectstorm/react-diagrams/tree/5.1.0/demos

TranVanKung avatar Nov 21 '19 07:11 TranVanKung