ยฉ 2026 Hedgehog Software, LLC
return createServerData$( async ([params]) => { const collectionMap = new Map(); const data= await xxx; for (const db of data.data) { const collections = await xxx; collectionMap.set(db.id, collections); } return { data, collectionMap, }; }, { key: () => [props.params], }, );
result(...)?.collectionMap.get is not a function