ES2019 or ES10 is the 2019 version of JavaScript. After the major 2015 update, JavaScript has been evolving every year. Developers get a small set of useful features, that helps us balance between innovation and stability. You can also follow […]
Exercise: Store the state of the application in a local storage. Make sure the application state is reloaded once you refresh the page. Solution: Clone PomodoroTracker2 from my GitHub repository as a starting point. Alternatively, you can use your own […]
There are countless questions your interviewers may ask when it comes to how JavaScript works. The idea behind asking these questions is to assess whether you have recent experience in writing JavaScript code. Some more clueless interviewers tend to ask […]
A proxy is an object that wraps an object or a function and monitors access to the wrapped item, a.k.a. the target. We use proxies for the intention of blocking direct access to the target function or object. The proxy […]
In this article, we will extend our application setup with linting. If you have not read my article on setting up a JavaScript application with React, I highly recommend reading it first. Setting Up ESLint ESLint helps us catch mistakes […]
Most developers emphasize immutability when dealing with functional programming. Code written in functional style is testable, because the functions operate on data treated as immutable. In practice though, I see this principle violated from time to time. I will present […]
JavaScript made its way from being a toy language for simple animations to becoming a language for client side and server side web application development. Some generic concepts also made their way to the JavaScript world and developers become more […]
One of the most powerful features of SinonJs is the ability to create a fake server. This feature is very useful when unit testing a component that's connected to a server via an API. Fake servers let you write real […]
Writing maintainable code is not easy in any frameworks or libraries. The fact that BackboneJs does not tie your hands makes your work even harder. Therefore, I will give you ten tips on tidying up your Backbone code. While some […]
JSON (JavaScript Object Notation) is a very good alternative to XML in today's web applications as a data transmission standard. We can get away with a lot less characters when it comes to data transmission. JSON is an obvious choice […]