JSFiddle

  • React Base Fiddle (non-JSX) #5770 is the latest revision

    Starting point for creating JSFiddles with React.

    class Hello extends React.Component {
      render() {
        return React.createElement("div", null, "Hello ", this.props.name);
      }
    }
    
    ReactDOM.render(
      React.createElement(Hello ...
  • React Base Fiddle (JSX) #88141 is the latest revision

    Starting point for creating JSFiddles with React.

    class Hello extends React.Component {
      render() {
        return <div>Hello {this.props.name}</div>;
      }
    }
    
    ReactDOM.render(
      <Hello name="World" />,
      document.getElementById('container')
    );