Reactを学習中です。
以下はcreate-react-appコマンドで作成した一連ファイル内にある
index.htmlですが、特にindex.jsを使うような記述が見当たりません。
index.htmlとindex.jsはどのような仕組みで連携しているのでしょうか?
html
1<!DOCTYPE html> 2<html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> 6 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 7 <meta name="theme-color" content="#000000"> 8 <!-- 9 manifest.json provides metadata used when your web app is added to the 10 homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/ 11 --> 12 <link rel="manifest" href="%PUBLIC_URL%/manifest.json"> 13 <!-- 14 Notice the use of %PUBLIC_URL% in the tags above. 15 It will be replaced with the URL of the `public` folder during the build. 16 Only files inside the `public` folder can be referenced from the HTML. 17 18 Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will 19 work correctly both with client-side routing and a non-root public URL. 20 Learn how to configure a non-root public URL by running `npm run build`. 21 --> 22 <title>React App</title> 23 </head> 24 <body> 25 <noscript> 26 You need to enable JavaScript to run this app. 27 </noscript> 28 <div id="root"></div> 29 <!-- 30 This HTML file is a template. 31 If you open it directly in the browser, you will see an empty page. 32 33 You can add webfonts, meta tags, or analytics to this file. 34 The build step will place the bundled scripts into the <body> tag. 35 36 To begin the development, run `npm start` or `yarn start`. 37 To create a production bundle, use `npm run build` or `yarn build`. 38 --> 39 </body> 40</html> 41

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。