{"id":21602034,"url":"https://github.com/ger86/react-portals-window","last_synced_at":"2026-02-22T23:10:24.461Z","repository":{"id":41592124,"uuid":"284426360","full_name":"ger86/react-portals-window","owner":"ger86","description":"In this project I want to show you how we could use the API Portals of React to handle the state of a popup window opended from a component. ","archived":false,"fork":false,"pushed_at":"2023-01-05T23:06:44.000Z","size":4117,"stargazers_count":2,"open_issues_count":20,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T21:45:14.921Z","etag":null,"topics":["react","react-portal","react-portals","reactjs","reactjs-popup"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ger86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-02T08:59:40.000Z","updated_at":"2024-08-20T20:48:01.000Z","dependencies_parsed_at":"2023-02-04T22:46:51.564Z","dependency_job_id":null,"html_url":"https://github.com/ger86/react-portals-window","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ger86/react-portals-window","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ger86%2Freact-portals-window","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ger86%2Freact-portals-window/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ger86%2Freact-portals-window/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ger86%2Freact-portals-window/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ger86","download_url":"https://codeload.github.com/ger86/react-portals-window/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ger86%2Freact-portals-window/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29730355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","react-portal","react-portals","reactjs","reactjs-popup"],"created_at":"2024-11-24T19:11:50.224Z","updated_at":"2026-02-22T23:10:24.380Z","avatar_url":"https://github.com/ger86.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⛩ React Portal: Windows\n\n## Description\n\nIn this project I want to show you how we could use the **API Portals** of React to handle the state of a popup window opended from a component. \n\n**React Portals** provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.\n\nAs the documentations states, React Portals could be useful when a parent component has an overflow: hidden or z-index style, but you need the child to visually “break out” of its container. For example, dialogs, hovercards, and tooltips.\n\n## You will learn\n\nHow to create a popup window with React Portals that shares the state with the parent component.\n\n## Run the project\n\nUse `yarn start` to run the app in the development mode and open http://localhost:3000 to view it in the browser.\n\n## To read more\n\n- [React Portals documentation](https://reactjs.org/docs/portals.html)\n- [React Portals. Una introducción](https://medium.com/@ger86/react-portals-una-introduccion-29c296324334)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fger86%2Freact-portals-window","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fger86%2Freact-portals-window","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fger86%2Freact-portals-window/lists"}