Start a new topic

Support for JSX in Code Mirror

Can we add support for JSX in Code Mirror? I mainly would like this for working with React components. The work around is to just use the JavaScript methods that the React library supports, but adding support for JSX would allow devs familiar with React to quickly jump in and use the syntax they are most likely most familiar with when using React (i.e. JSX).

I'm not sure how hard this would be. I think Code Mirror supports JSX and if I'm not mistaken we are using Babel to transpile the ES6/ES2015 to ES5. Babel can be used to transpile JSX to ES5 as well.

1 Comment

Hi Jack,

Thanks for the feedback. We'll let the Dev team know!

Login to post a comment