Files
Cursor AgentandJulius Marminge 004658797e Fix store reactivity: stable dispatch ref, reactive terminal state, no-op guard
- useStore(): wrap dispatch actions in useMemo so the reference is stable
  across renders, preventing infinite effect loops in EventRouter
- Sidebar: subscribe to terminalStateByThreadId data instead of the
  getTerminalState function reference so terminal indicators re-render
- reduceThreadTerminalState: return original state (not normalized copy)
  for no-op actions so the reference equality guard in applyTerminalAction
  can short-circuit unnecessary store updates

Co-authored-by: Julius Marminge <[email protected]>
2026-03-02 18:40:49 +00:00
..
2026-02-28 15:17:03 -08:00
2026-02-28 14:42:10 -08:00
2026-02-28 14:42:10 -08:00
2026-02-19 01:42:56 -08:00
fmt
2026-02-17 16:09:09 -08:00
2026-02-17 19:47:09 -08:00
2026-02-17 19:47:09 -08:00
2026-02-19 18:42:39 -08:00
2026-02-26 13:20:36 -08:00
2026-02-09 22:19:49 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
fmt
2026-02-14 23:35:48 -08:00
2026-02-15 15:51:05 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-17 19:47:09 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00