BuilderIO / BuilderIO/mitosis

Feature: Portals

Open
#514 1 comment 8 reactions 1 assignee Claimed by @samijaber View on GitHub
core enhancement
Dominant language
TypeScript
Stars
14.4k
Forks
671
PR merge metrics
No merged PRs in 30d

Description

We need to implement a proof of concept for Portals in Mitosis very similar to React: some sort of mechanism that will allow users to render components at the root.

This is required for users to be able to do certain things like building Modals, popups, dialogs, etc.

In the case of React, it would be as simple as reusing `React.createPortal()` in the generated React code. What we really need to do is investigate all other frameworks to see how we can provide consistent functionality across all targets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.