<!DOCTYPE html>
<html>
  <head>
    <title>electron es6 react boilerplate</title>
    <script>
      // install babel hooks in the renderer process
      require('babel-register');
      require('./scripts/main');
    </script>
  </head>

  <body>
    <div id="app"></div>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>electron es6 react boilerplate</title>
  </head>

  <body>
    <div id="app"></div>
    <script>
      // install babel hooks in the renderer process
      require('babel-register');
      require('./scripts/main');
    </script>
  </body>
</html>

Load scripts last to ensure that DOM is available
Load scripts last to ensure that DOM is available

