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
In README there's a performance optimization method
Optimizing expensive sub-trees by splitting the component apart
I don't quite understand how it optimize performance. IMO, the separated component render as much times as before separating and I made a small demo: https://codesandbox.io/s/dark-http-selxh. The ExpensiveComponent will console as long as parent component's useContainer value changed.
Could anybody tell me about the correct understanding of it? 🤔
The text was updated successfully, but these errors were encountered:
In README there's a performance optimization method
I don't quite understand how it optimize performance. IMO, the separated component render as much times as before separating and I made a small demo: https://codesandbox.io/s/dark-http-selxh. The ExpensiveComponent will console as long as parent component's useContainer value changed.
Could anybody tell me about the correct understanding of it? 🤔
The text was updated successfully, but these errors were encountered: