ReactJS Editor

Click the link: “ReactJS Editor

Simple online ReactJS Editor.

Sample Code

 

JSX

Put this in JS tab.

const elem = React.createElement('h1', null, 'Hello World');
ReactDOM.render(elem, document.getElementById('root'));

Now run the code by clicking the Play  icon.

Advertisements