Brotli vs gzip vs no compression

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 […]
Reactjs + D3

Building bar chart with React and D3

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 […]

Event Listeners – Remember to remove them!

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.
ReactJs article logo

ReactJs – should I use shouldComponentUpdate?

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.