Portal

go back  Go back
Portal
/images/badges/react.svg React Native /images/badges/ts.svg Typescript

React Native Simple Portal is a lightweight library that allows you to render components outside of their parent hierarchy. It provides a simple API to create portals and manage the rendering of components in different parts of your app.

Demo

To the left, you can see a simple loading indicator that is rendered on top of all app content. To the right, you can see a modal with custom content that is rendered on top of all app.

https://github.com/cjguajardo/cgc-portal  Go to repo