Skip to content

Instantly share code, notes, and snippets.

@dagingaa dagingaa/systemjs-react.js
Last active Sep 15, 2016

Embed
What would you like to do?
SystemJS + React PoC
import React from 'react';
class Hello {
render() {
return React.createElement("div", null, "Hello ", this.props.name);
}
}
Hello.prototype.displayName = "Hello";
var HelloElement = React.createClass(Hello.prototype);
React.render(React.createElement(HelloElement, {name: "World"}), document.body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.