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
Fix: remove duplicate Onyx subscriptions causing perf test render regression
The guard had its own connectWithoutView for SESSION and IS_LOADING_APP,
duplicating the ones in guards/index.ts. The extra Onyx connections caused
an additional render in the SidebarLinks perf test (render count +1).
Instead, guards/index.ts now calls onSessionOrLoadingAppChanged() in its
existing callbacks to pass the values through to the guard.
Co-authored-by: Eric Han <eh2077@users.noreply.github.com>
0 commit comments