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.

Create preview images for your web page displayed in Google search results

You might want to create a preview image for your web page which it will be displayed in Google search results. This image will help users in the sense of…

How to write logging messages to a file in PHP

Being proficient in logging debug or error messages is critical to every programmer. If you used to make programs in any high and robust programming languages such as Java or…

Checking existence of an element in an array with JavaScript

JavaScript is a loosely typed or a dynamic language. Variables in JavaScript are not directly associated with any particular value type, and any variable can be assigned (and reassigned) values…

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…

How to build and render data in JSON format with Grails

Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as…

How to consume web services in Grails

Frankly, implementing RESTful API endpoints/services is a vital part of any modern web-based applications these days because of inherent advantages of this technology. However, how do you consume RESTful services…

How to change default server port for Grails application

As a web developer, all of us are aware of the number 8080 as the holy port nobody can forget. In Grails based applications, there is no exception at all.…