---
title: "Discussion on \"using createPortal to show modal in React\" | Hashnode"
description: "Discussion on \"using createPortal to show modal in React\". React is a popular JavaScript library used for building user interfaces. One common feature of many applications is the use of modals or pop-ups. Modals can be used for a variety of purposes, such as displaying a login form or showing a confirmation ..."
url: "https://hashnode.com/posts/using-createportal-to-show-modal-in-react/640a85591119ca5c81fedfdc"
---

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

Discussion

# [using createPortal to show modal in React](https://slytherindor.hashnode.dev/using-createportal-to-show-modal-in-react?utm_source=hashnode&utm_medium=feed)

React is a popular JavaScript library used for building user interfaces. One common feature of many applications is the use of modals or pop-ups. Modals can be used for a variety of purposes, such as displaying a login form or showing a confirmation ...

Feb 17, 2023 · 3 min read · slytherindor.hashnode.dev  
Read the article

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

## Written by

[Shubhanshu](https://hashnode.com/@slytherindor)

@slytherindor · Ottawa

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

build -> fail -> iterate -> succeed

here to build things

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
