Created
March 21, 2016 06:19
-
-
Save fay-jai/3e7337af5b70ec8190cd to your computer and use it in GitHub Desktop.
Getting Started with Typescript, ReactJS, and Webpack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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