Imagine you open an application on two different tabs and perform an action on one of them. Normally, the action is expected to apply to all open tabs, but this is not the case for the vast majority of applications...Read more
Memoization is an optimization technique used to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again. A memoized function...Read more
React is often used for various tasks, including those that require a lot of complex calculations. Performing this type of calculation too often compromises the performance of the application. In most cases we can limit their number so that they are not executed too often...Read more
In the JavaScript world, people share millions of pieces of code to avoid spending time on some necessary functionality, that is already done by others. Shared code, in turn, may depend on...Read more
Back in the days when JavaScript programs were small pieces of scripts that added a little interactivity to websites, there was no need to break the code into pieces. Today, JavaScript applications are rapidly growing in size...Read more
In the previous articles we had a short overview of the most popular sorting algorithms and their implementations. But there are many more things we should have a basic understanding of when dealing with this topic...Read more
The topic of today is Heap Sort - a sorting algorithm that is widely used because of its simplicity and efficiency. It uses heap data structure to find the largest element in each step...Read more
React is a great JavaScript library for creating user interfaces. It brings an enormous number of advantages for both, customers and developers. But like any tool, if it is not used properly, it creates more problems than it actually solves...Read more
Each application must be automatically tested to ensure that everything works as intended and that the new features can be delivered without destroying the existing ones. Without testing, the functioning of your application is a matter of pure luck...Read more