Recursive Promises in Node
Recursive functions are extremely useful for many things in JavaScript. In React, you might want to traverse through all the children of a higher order component, even nested ones. There's many valid use-cases for these functions.
Last week I realized that I needed to recursively call a promise and eventually resolve at an unknown point. Why? In this cas…
Keep reading with a 7-day free trial
Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.