Preparing search index...

    Function getViewableRecipeUrls

    • Collects the urls of the recipes FlashList reports as viewable

      Parameters

      • viewableItems: ViewToken<DiscoveryListItem | undefined>[]

        Viewable tokens from FlashList; a token's item is undefined when its index is no longer in the list data

      Returns string[]

      Urls of the viewable recipe items, headers and missing items skipped