---
title: "Discussion on \"Display a React component and its source code\" | Hashnode"
description: "Discussion on \"Display a React component and its source code\". How to use react-element-to-jsx-string"
url: "https://hashnode.com/posts/display-a-react-component-and-its-source-code/64de41fda11f52c96b425ded"
---

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

Discussion

# [Display a React component and its source code](https://joanamoreira.hashnode.dev/display-a-react-component-and-its-source-code?utm_source=hashnode&utm_medium=feed)

How to use react-element-to-jsx-string

Aug 17, 2023 · 2 min read · joanamoreira.hashnode.dev  
Read the article

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

## Written by

[Joana Moreira](https://hashnode.com/@joanamoreirafed)

@joanamoreirafed

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
