react-reverse-portal icon indicating copy to clipboard operation
react-reverse-portal copied to clipboard

React reparenting :atom_symbol: Build an element once, move it anywhere

Results 11 react-reverse-portal issues
Sort by recently updated
recently updated
newest added

Follow-up from https://github.com/httptoolkit/react-reverse-portal/issues/13 It is a POC that the proposed solution actually works. Now we need to find a way to generalise the caught events. The main issue is to...

I was wondering if it would be possible to use reversed portals in a React Native project.

If I have some eg `onClick` events on component inside portal - this event will not be detected if used with reverse portal. Eg. InPortal is rendered at the root...

I have been using this library with React and it has been extremely helpful and I haven't encountered any problems with it. Recently I started working on a project in...

I would like to * transfer components which render results depend on nondeterministic, direct function call(such as `Math.random()` or `Date.now()`) and * fix the results before and after transfer, without...

We use an Intersection Observer to determine whether a video is in view and to render it. The problem arises when the video leaves all OutPortals: it maintains the props...

Error: > ReferenceError: document is not defined

Here is my code ```jsx setPage((prev) => (prev + 1) % pages.length)}> Change Page {pages[page] === "counter" && } {pages[page] === "color" && } ``` It seems only the inner...

is that normal? ``` return { ((cellStatus == 'render') || (cellStatus == 'renderplaceholder')) && } { (cellStatus == 'render1') && } ``` Both 'render' and 'render1' cause rendering of InPortal...

Has anyone tried to run this on Nextjs? Getting an error: "Cannot read property 'getInitialPortalProps' of null"