Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki
Created September 2, 2015 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichalZalecki/228e69d58ccaa4cdd988 to your computer and use it in GitHub Desktop.
Save MichalZalecki/228e69d58ccaa4cdd988 to your computer and use it in GitHub Desktop.
React Templates vs JSX
class Navbar extends React.Component {
constructor(props) {
super(props);
}
render() {
return require('./navbar.jsx').call(this);
}
}
export default Navbar;
import { Link } from "react-router";
export default () => (
<div></div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment