The author of the very popular JavaScript framework Redux - Dan Abramov admitted that he drew some amount of inspiration from The Elm Architecture when he started thinking about Redux. So I was wondering, what were the differences, and most importantly, why did he make the framework different? I can…
Building Your Own React Clone in Five Easy Steps
React's ability to efficiently render declarative user interfaces can seem almost magical. Most developers probably have a rough idea of how it identifies changes and applies them using a "virtual DOM". But how many truly understand the details of what is happening behind the scenes? Fascinated by this…
Encapsulation in Redux: the Right Way to Write Reusable Components
Redux is one of the most discussed JavaScript front-end technologies. It has defined few paradigms that vastly improve developer efficiency and give us a solid foundation for building apps in a simple yet robust way. No framework is perfect though, and even Redux has its drawbacks. Redux has the special…
The Human Brain is a Vital Front-End Component
It was around 2011 and I was working for a small company with the ambitious goal of building the world's sexiest cloud CRM product. To build a great product, you need great technologies. Fortunately, one of my colleagues was a tech maven who tried hard to stay on top of…
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…