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
Can you share a playground that reproduces the issue?
Is the rendered node being memoized/is it a pure component? That may resolve this. At first glance, I suspect that the issue is that the props are changing, but between equivalent options (empty props and empty props). Because there's a change though, React will consider re-rendering the InPortal contents, and if that contents isn't pure then it really does need to be rerendered after any such changes. Does that make sense?
is that normal?
Both 'render' and 'render1' cause rendering of InPortal content (the console message is logged each time):
... but state ('final') is preserved
I was hoping that the move wouldn't trigger a render at all.
The text was updated successfully, but these errors were encountered: