Understanding How the Single Page Is Served

Learn how the single page is served.

Understanding the structure of index.html in React app

We know that the single page that hosts the React app is index.html, so let’s examine this file. This file can be found in the public folder of the ClientApp folder. The React app will be injected into the div tag, which has an id of root:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy