We live in an era where there is more users browsing web using mobile devices rather than desktop. Data from StatCounter, internet monitoring company, clearly shows that year on year there is more and more mobile visitors and this trend is unlikely to change. It is important to realise that not every user has a […]

This is a first post about building chart with React and D3. There is a plenty of 3rd party React charting libraries but if you are reading this, probably you are interested in learning how to building charts from scratch. I’m planning to write series of React and D3 tutorials. In this first post we […]

This is a short how-to post about integrating React-Router with Create React App. I’m planning to write posts about some React specific functionality so this post will act as a starting point for other posts. I assume you know what CRApp is and how to start with it. If not, please follow instructions here. Adding React-Router and sample routes […]

Click, focus, keydown, resize, scroll and many many more... JavaScript EventListeners are a part of every JavaScript application or framework. Without them JavaScript as a language would be already a thing of the past. This short post will describe one common mistake developers make when it comes to handling event listeners.

React is well known for being performant "out-of-the" box. Well, this is true but ... As an engineer, you've probably heard that latest version of a particular framework, language or feature is best in the class but then it turned to have problems. React is the same, if you write a code that is not optimised, React won't be able to works its magic in 100%. Possibly it still be fast, but it could be faster.
This short article will give you some useful, real-life examples on how shouldComponentUpdate can save re-rendering of components.