HTML file to use a React component

suggest change

Set up a simple HTML file in the root of the project directory. The id must match the element passed to ReactDOM.render (App in the component example).

Filename: index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <div id="App"></div>
    <script src="build/bundle.js" charset="utf-8"></script>
  </body>
</html>

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents