---
title: "Discussion on \"What is React Fragment and why do JSX elements must have one parent element?\" | Hashnode"
description: "Discussion on \"What is React Fragment and why do JSX elements must have one parent element?\". React Fragment\nIt's a special kind of React component which allows you to position two elements side-by-side rather than just nested."
url: "https://hashnode.com/posts/what-is-react-fragment-and-why-do-jsx-elements-must-have-one-parent-element/6140964250c35a12989fa173"
---

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

Discussion

# [What is React Fragment and why do JSX elements must have one parent element?](https://hadiazeez.hashnode.dev/what-is-react-fragment-and-why-do-jsx-elements-must-have-one-parent-element?utm_source=hashnode&utm_medium=feed)

React Fragment It's a special kind of React component which allows you to position two elements side-by-side rather than just nested.

Sep 14, 2021 · 2 min read · hadiazeez.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#jsx](https://hashnode.com/tag/jsx)

## Written by

[Hadi Azeez](https://hashnode.com/@hadiiazeez)

@hadiiazeez

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

Web developer

I am a React enthusiast.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
