---
title: "Discussion on \"Why JSX ?\" | Hashnode"
description: "Discussion on \"Why JSX ?\". React.createElement()\nwhen we create element using React.createElement() React converts it into object and reactDOM while rendering converts it into HTML DOM.\neg -\nconst heading = React.createElement(\n    \"h1\",\n    {\n        id: \"titleID\",\n        cl..."
url: "https://hashnode.com/posts/why-jsx/6471c2bc8ecd39c930baa9e4"
---

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

Discussion

# [Why JSX ?](https://yashashri.hashnode.dev/why-jsx?utm_source=hashnode&utm_medium=feed)

React.createElement() when we create element using React.createElement() React converts it into object and reactDOM while rendering converts it into HTML DOM. eg - const heading = React.createElement( "h1", { id: "titleID", cl...

May 27, 2023 · 3 min read · yashashri.hashnode.dev  
Updated Jul 3, 2023  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#namastereact](https://hashnode.com/tag/namastereact)
-   [#happy-learning](https://hashnode.com/tag/happy-learning)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#jsx](https://hashnode.com/tag/jsx)

## Written by

[Yashashri Bongulwar](https://hashnode.com/@yashashribongulwar)

@yashashribongulwar

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

Intrested in UI Development and parallel fields

Hello Folks. I am Yashashri Bongulwar. I would describe myself as a passionate web developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
