React.js Hello World

index.html

<!DOCTYPE html>
<html>
<head>
   <script src="https://fb.me/react-0.14.3.min.js"></script>
   <script src="https://fb.me/react-dom-0.14.3.min.js"></script>
</head>
<body>
   <div id="root"></div>
   <script type="text/javascript">
      ReactDOM.render(
    React.createElement('H1', null, 'Hello World!!!'),
    document.getElementById('root')
      );
   </script>
</body>
</html>

server.go

package main

import (
    "fmt"
    "html/template"
    "net/http"
)

const (
    Port = ":8080"
)

func serveStatic(w http.ResponseWriter, r *http.Request) {
    t, err := template.ParseFiles("index.html")
    if err != nil {
        fmt.Println(err)
    }
    t.Execute(w, nil)
}

func main() {
    http.HandleFunc("/", serveStatic)
    http.ListenAndServe(Port, nil)
}