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
When switching the OutPortal, the child component of the InPortal (i.e. the "expensive" component) appears to get re-rendered, although the component that is rendering the InPortal doesn't get re-rendered.
Is this a bug or is there a problem with that example?
The text was updated successfully, but these errors were encountered:
See this example: https://codesandbox.io/s/nifty-fire-ihho4?file=/src/index.tsx
When switching the OutPortal, the child component of the InPortal (i.e. the "expensive" component) appears to get re-rendered, although the component that is rendering the InPortal doesn't get re-rendered.
Is this a bug or is there a problem with that example?
The text was updated successfully, but these errors were encountered: