https://github.com/sheraff/react-continuous-portal
https://github.com/sheraff/react-continuous-portal
component performance react-portal rendering
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sheraff/react-continuous-portal
- Owner: Sheraff
- Created: 2022-06-19T18:12:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-19T18:55:33.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T19:51:54.312Z (3 months ago)
- Topics: component, performance, react-portal, rendering
- Language: JavaScript
- Homepage: https://Sheraff.github.io/react-continuous-portal
- Size: 750 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-continuous-portal
https://user-images.githubusercontent.com/1325721/174495942-7649f246-332c-464b-80bc-7ad5cd1f6510.mov
Easy to use `createPortal` component (``) that never unmounts when changing the destination (``). Plus, even the destination can pass props.
```jsx
function() {
const fragment = useFragment('div')
return (
<>
>
)
}
```