withByDate<T extends { id: string; createdAt: Date; }>(): T[]
Returns items, newest first, with item where its createdAt puts it,
as withInOrder does. useDumpListSync puts a new or newly visible
dump in a list with it.
T[]
withByDate<T extends { id: string; createdAt: Date; }>(): T[]
Returns items, newest first, with item where its createdAt puts it,
as withInOrder does. useDumpListSync puts a new or newly visible
dump in a list with it.
T[]
import { withByDate } from "src/utils/feed/pagedList.ts";