How to merge arrays in JavaScript

How do you merge two arrays in JavaScript/jQuery? Method 1: Traditional or simple way – using loop Iterating on one of two arrays, get each element and append it into…

Using JavaScript console better

The console object provides access to the debugging console (e.g., the Web console in Firefox). The specifics of how it works vary from browser to browser or server runtimes (Node.js, for example), but there…

Popular shorthand techniques in JavaScript

The shorthand techniques can help you to write optimized code and let you achieve your goal with less coding. Let’s discuss some of the shorthand tips and tricks of JavaScript…

Understanding React Rendering: Part 2 – Improve rendering in React apps

In the recent post about understanding how React renders components, we presented how React renders UI elements and also raised awareness of the fact that React renders everything when only…

Understanding React Rendering: Part 1 – When does React render UI elements?

One of the key features of React is its ability to update the user interface efficiently by re-rendering components when there are changes to the state or props. However, this…

What are the differences between reactstrap and react-bootstrap in React?

reactstrap and react-bootstrap, they are packages based Bootrstrap framework for React developers. As developers, we can use either of them. However, it is important to remember that we should keep consistent.

Understanding data type of dictionary in JavaScript

Dictionary is among the commonly used data structures in modern programming because of its benefits so that there has not been any frankly acceptable alternative. Therefore, in this post I…

Getting started with Log4j2

Log4j2 is the upgraded version of Apache Log4j with significant improvements over its predecessor and provides many of the improvements available in Logback while fixing some inherent problems occurred in…

Using System properties in Grails

Retrieving a few of system variables is inevitable in developing computer applications within any environment. In this post, we would show you system variables existing once the application is loaded…

Commonly useful Emacs commands and shortcut keys

Here is the list of commonly used commands in Emacs I often use in the daily basis. Reload a current buffer or working file Why is this important? When you…