Created
June 16, 2018 13:57
-
-
Save dance2die/cf9a6685c577b704a0317b9043dcc910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Combine all story IDs to get all items in one go for "items" map | |
// We need only distinct SET of IDs. | |
const storyIds = [ | |
...new Set([...topResults.data, ...newResults.data, ...bestResults.data]), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment