Skip to content

Instantly share code, notes, and snippets.

@fay-jai
Created March 21, 2016 06:19
Show Gist options
  • Save fay-jai/3e7337af5b70ec8190cd to your computer and use it in GitHub Desktop.
Save fay-jai/3e7337af5b70ec8190cd to your computer and use it in GitHub Desktop.
Getting Started with Typescript, ReactJS, and Webpack
// Remember to rename the file from app.ts to app.tsx
// and to keep it in the src/ directory.
import * as React from "react";
import * as ReactDOM from "react-dom";
import Hello from "./Hello";
ReactDOM.render(
<Hello name="Willson" />,
document.getElementById("root")
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment