loading...

re: I built an online code editor VIEW POST

FULL DISCUSSION
 

What a wonderful thing that is... Can see me getting my daughter using that. Does it/could it work with babel in the browser to support ES6?

 

Yes, I beleive it's possible to get babel running from a script tag. Will be slower I think. I should add an example for doing this, thanks for the idea!

 

I just tested this and it works by the way. I followed the instructions on Add React to a Website with the Slingcode editor and it worked perfectly translating JSX etc. I made a video of it which you can see here:

 
code of conduct - report abuse