preact-devtools icon indicating copy to clipboard operation
preact-devtools copied to clipboard

Add true support for Portals in devtools

Open marvinhagemeister opened this issue 5 years ago • 0 comments

We currently display Portals like standard class components. We don't have special handling for the newly rendered sub tree which is why it renders it as if it would be a new root tree. See this screenshot:

portal

What it should look like instead:

portal-react

marvinhagemeister avatar Mar 31 '19 13:03 marvinhagemeister