Flux: Reduce Your Side Effects

(Note: we're using "reduce" strictly in the computer science sense in this article, lest anyone be confused.) Flux is awesome but there are still numerous open questions. One of the toughest, which everyone has to face sooner or later is: where do API calls belong? I am not really sure…

Library of The Month: merge2

First a bit of administrivia: we've decided to move to a monthly pace for our periodic looks at interesting JavaScript libraries, so from now on this series will be entitled... wait for it... "Library of the Month". With that in mind, let's take a closer look this month at the…

Flux: No More Stores, Meet Reducer

Flux has been with us for a while, and there are now countless frameworks based on the architecture. Some of them are just "syntactic sugar" while others depart significantly from the original idea. Personally I have never been a fan of any framework based on the Flux architecture, as its…

So Remind Me Again, Why Do We Need the npm Registry?

While working on Supercomments, I regularly came across third-party Node.js packages whose version in the npm registry was not the one I wanted. In most cases this was because the maintainer hadn't updated the version for a while, although in at least one instance it was because the code…