- 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>
See ../../README.md for more information on the project.