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
{{ message }}
Repository navigation
Commit 5f7d52c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): stable callbacks refresh before layout effects read them
Child layout effects run before the parent's, so useStableCallback still
called the previous render's function there. After a thread switch with
find open, the position restore's navigation reached the old visit and left
the shown thread following. The ref now refreshes in an insertion effect,
which runs before every layout effect in the commit.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments