perf(replies): progressive render, 500 replies/page, content-visibility

Set repliesPerPage to 500 to avoid Virtuoso pagination sort drift. Add useProgressiveRender with startTransition batching and CSS content-visibility for long reply lists.
This commit is contained in:
plebeius
2026-02-15 18:46:49 +08:00
parent ec620238e3
commit dedf18e199
5 changed files with 90 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
/** Max replies loaded per page from useReplies. Threads with > this use Virtuoso. */
export const REPLIES_PER_PAGE = 500;