@ -134,6 +142,11 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@@ -134,6 +142,11 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
if(refsToLoad.length===0)return
pubLog('flush_start',{
keys: refsToLoad.map((r)=>refKey(r)),
relayCount: relayUrlsRef.current.length
})
setRows((prev)=>{
constnext=newMap(prev)
for(constrefofrefsToLoad){
@ -147,25 +160,53 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@@ -147,25 +160,53 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@ -178,6 +219,17 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@@ -178,6 +219,17 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@ -223,8 +275,8 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
@@ -223,8 +275,8 @@ export function usePublicationSectionLoader(indexEvent: Event, referencesData: P
useEffect(()=>{
if(!relayReady||orderedKeys.length===0)return
constn=Math.min(3,orderedKeys.length)
requestKeys(orderedKeys.slice(0,n))
// Full list: scroll-IO may have fired before relays were ready; those keys were re-queued idle.