Files
Cursor Agent 8aa4d3d18d fix: use useLayoutEffect for SET_ACTIVE_THREAD to prevent stale child renders
Change useEffect to useLayoutEffect in _chat.$threadId.tsx so that
the store's activeThreadId is updated synchronously before the browser
paints. This prevents child components (BranchToolbar, OpenInPicker,
GitActionsControl) from briefly displaying data from the previous
thread during navigation between threads.
2026-02-18 04:41:36 +00:00
..