Files
ncd-fe/packages/nicolium
copilot-swe-agent[bot] 5b1a876326 fix: stabilize useAccounts with combine and add cycle detection in useThread
- useAccounts: Replace unstable useMemo([queries]) with TanStack Query's
  combine option, which applies structural sharing (replaceEqualDeep) to
  the combined result. This prevents the accounts array from being a new
  reference on every render, breaking the cascade of unnecessary re-renders
  through useStatusQuery → useStatus → all Status components.

- useThread: Add cycle detection (visited set) to the linear mode's while
  loop that traverses inReplyTos to find the root parent. Without this,
  circular reply chains (e.g. self-replies or A→B→A) would cause an
  infinite loop that freezes the browser tab.

Co-authored-by: mkljczk <21127288+mkljczk@users.noreply.github.com>
2026-03-01 20:59:07 +00:00
..
2026-03-01 21:24:07 +01:00
2026-02-27 02:27:57 +01:00

See ../../README.md for more information on the project.