Re:Side Effects vs. Promises
by dangoor on Sunday October 04, 2015 @09:02PM
(#10329477)
Sure, the `then`s could be pure functions but the whole point of my blog post is that I'd like to be able to test code that calls `fetch`. That would be possible if the actual side effecting operation is deferred to later, and not just the result.
[ Parent
| on HN ]
There are no comments on this comment yet.