So, you're already writing unit tests for your components. Maybe you're even practicing TDD because you want your tests to improve your production code design. You… read more
Large codes base and teams that work on them, face an additional set of challenges unknown or unidentified as an issue in smaller setups. Despite many of those challenges… read more
Software design and architecture is not something you can install with npm. If you disagree, nothing is stopping you from installing an opinionated JavaScript framework… read more
When legacy code is giving you a hard time, it's a good time to learn yourself a few new tricks. You might not think there's a method to this chaos in your codebase, but… read more
Static code analysis is a process of inspecting the source code to get some insights without actually running it. Which is why we call that process static. Static… read more
There are multiple headers available for developers and ops people to manipulate cache behavior. The old spec is mixing with the new, there are numerous settings to… read more
At the beginning of the project, everything is simple and easy. The entire codebase fits in the mental model you have in your head. Deployment, although not yet fully… read more
I find myself reaching to previous projects for this function every time I need a random, unique value to use on the client-side. You might not have heard of the Web… read more
Kubernetes (k8s) is a platform for deploying, scaling, and managing containers. Kubernetes may be daunting to pick up in the beginning, and you probably already found out… read more
In production, the most important advantage of using a build tool like webpack is a smaller size and thus improved overall application performance. Although beneficial… read more
I have started riding the hooks hype bandwagon the first-day hooks made it into the stable 16.8 release. Worried about our sanity (and support from testing libraries) we… read more
Express is a microframework that according to 2018 Node.js User Survey Report is used by 4 in 5 back-end and full-stack node.js developers. Thanks to its simplicity… read more
Code sharing is easy but doing it correctly is challenging. There are multiple ways you can do it, and your use case dictates what approach is right for you. The low… read more
Well written set of tests plays a crucial role in delivering a reliable software. A good test suit ensures that the application works as intended and significantly… read more
Nebulas is yet another platform on which you can develop smart contracts. It offers a means of using JavaScript to develop Smart Contracts — an intriguing alternative to… read more
Decentralized applications present a new set of challenges. One of them is testing. Transaction lifecycle is more complex than the old-school POST request/response flow… read more
Many functional programming languages like Haskell or Elm have a structural type system. This perfectly lines in with the direction in which majority of JavaScript’ish… read more
Redux Thunk is one of the most if not the most popular Redux middleware with over 2 million downloads a month. If you compare this number to the Redux 4 million downloads… read more
Fixtures are a thin abstraction layer over sample data in your application which allows for better organizing, often complex, data structures representing different… read more
React works, in what I would call, homogeneous manner. A tree of components is going to be rendered in the given component using a render or recently introduced hydrate… read more
When we talk about writing asynchronous JavaScript we often use timer functions or promises as an example. Whereas the majority of asynchronous code written in modern… read more
This guide is a form of writing down few techniques that I have been using with ups and downs for the past two years. Optimizations highly depend on your goals, how users… read more
Geofencing allows for locating points within defined geographic areas. Areas can be defined with geographic points, consisting of latitude and longitude, forming any… read more
I know, I know. This title sounds cocky. In fact, it makes a lot of sense if you think about it. I have been asked multiple times by my friends from our local React… read more
If you are working on web services for some time you probably remember, or at least heard about, The First Browser War. We are extremely lucky that this scramble between… read more
React components went the long way from through ES2015 powered
to and stateless functional components. I really enjoy the idea that we don't
have to "hack" the… read more
Coding style is often a topic of fierce debates, mostly unnecessary. What matters is being
consistent throughout the project, or better, your entire codebase. Tools like… read more
My first offline web app heavily depended on AppCache and it was painful experience. Don’t get me wrong, AppCache initially blow my mind, in a positive sense. Web App… read more
TypeScript calls itself a JavaScript superset and compiler while Flow is a static type checker. TypeScript is developed by Microsoft and highly inspired by C# or Java… read more
We are designing our applications for better separation and many patterns evolved from that effort. It's not any different in case of projects I have done. There were… read more
Pure functions are functions which for certain input always returns the same output without modifying its surroundings. So, they are free from side effects. Because of… read more
At first sight, RxJS is blown up lodash but for dealing also with async. In reality, it is so
much more than that. With a few simple operators, you can implement a… read more
I gave the presentation on Warsaw and Wrocław meet.js meetups about RxJS and Cycle.js. Until the same meetup I had doubts whether live coding is the best way to introduce… read more
On 16th December I had a pleasure to give the presentation about Flux architecture pattern on ReactJS Wrocław meetup. Flux is well known in React community and has… read more
When your SPA is growing its download time is getting longer and longer. That's not going hand in hand with better user experience (remainder: that's why we are doing… read more
ECMAScript 6 (also known as ECMAScript 2015 ) is the new, but not the newest (ECMAScript 7), version of ECMAScript standard and it's based on ECMAScript 5.1. Since… read more