/** * Threads to open at their start rather than at the post: "View full thread" in a feed, where * you want to read the conversation from the top down to the reply you saw. */ const fromTheTop = new Set(); export const openFromTheTop = (path: string) => fromTheTop.add(path); /** Whether a thread page was asked to open at its start; answers once. */ export const takeFromTheTop = (path: string) => fromTheTop.delete(path);