You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is resolved in the upcoming version that should come out really soon. Preact 8 works differently, because it has a third argument for the render function that gives you the behavior of React.
Question/bug report.
There's discrepancy of preact and react
render
.If we have simple example (see codesandbox)
Preact appends
<div>y</div>
toroot
(unexpected!), whereas react mutates it.Maybe related to #1781 - same issue is with portals - is that expected that preact keeps existing html?
The text was updated successfully, but these errors were encountered: