---
title: "Discussion on \"How React serves?\" | Hashnode"
description: "Discussion on \"How React serves?\". When you do.\nnpm start\n\nindex.html will be served in web browser.\nNow, index.html contains root dom node and as it served the control goes to it's javascript file which is index.js.\nNow, the index.js having below rander function.\nReactDOM.render(\n  <..."
url: "https://hashnode.com/posts/how-react-serves/632ea8903a049a0d9db75043"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How React serves?](https://ajaybaraiya6.hashnode.dev/how-react-serves?utm_source=hashnode&utm_medium=feed)

When you do. npm start index.html will be served in web browser. Now, index.html contains root dom node and as it served the control goes to it's javascript file which is index.js. Now, the index.js having below rander function. ReactDOM.render( <...

Sep 24, 2022 · 1 min read · ajaybaraiya6.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Ajay Baraiya](https://hashnode.com/@ajaybaraiya6)

@ajaybaraiya6

  
[View profile](https://hashnode.com/@ajaybaraiya6)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
