Solving Canva’s Technical Challenge With a Single Reduce Function

Refactoring JavaScript: Collection Pipelines (Example)

Michael Timbs
The Startup
Published in
5 min readSep 9, 2020

--

This is part of a series called “Refactoring Javascript: Collection Pipelines.” You can read the introduction here.

In a previous article, I gave an introduction to the power of reduce(), however, I didn’t really highlight it’s potential…

--

--

Michael Timbs
The Startup

Full-stack developer. In love with Typescript and Serverless