DEV Community

Discussion on: Using fetch() and reduce() to grab and format data from an external API - A practical guide

Collapse
 
_andys8 profile image
Andy

Think about grouping/partitioning your data and then aggregating the values. This would avoid manipulating the single map object and allow parallelization in other languages :)

ramdajs.com/docs/#groupBy