Home Page

Recently Added

Nextjs How to use getServerSideProps

Nextjs How to use getServerSideProps

In simple terms, getServerSideProps enables a page to render server-side. getServerSideProps renders your client-side page in server-side and returns a hydrated SEO-friendly HTML ...
October 9, 2022
Document parsing with Jsoup

Document parsing with Jsoup

jsoup is a Java library to work with HTML and XML markups. jsoup provides an API to extract and manipulate markup data, allowing us to scrape and parse HTML and XML from a URL, fil...
October 9, 2022
Spring framework HandlerInterceptor example

Spring framework HandlerInterceptor example

HandlerInterceptor is similar to a Servlet Filter. In addition HandlerInterceptor allows custom pre-processing with the option of prohibiting the execution of the handler itself, a...
August 23, 2022
React js google tag manager: React Google analytics problem solved

React js google tag manager: React Google analytics problem solved

Google tag manager, out of the box is unable to track React js page navigations using react-router. This article explains how the React js Router works and how to make Google tag m...
October 8, 2022
Junit private methods: How to unit test private methods and classes

Junit private methods: How to unit test private methods and classes

Unit testing private methods and classes are possible by using Powermock's Whitebox. The Whitebox uses reflection to create inner class instances and invoke private methods outside...
August 23, 2022
Reactjs global state without redux: React state management with context api

Reactjs global state without redux: React state management with context api

This article explains how to use the react context API to manage the application's global state without using complex libraries such as redux and prop drilling.
August 23, 2022
Convert react app to server side rendering with next.js

Convert react app to server side rendering with next.js

This article explains how to convert a React js application to Next js in few easy steps. The example includes a fully working React js application re-written in Next js.
August 23, 2022
Next js quick references and tips

Next js quick references and tips

Discuss five tips to make your Nextjs development easy. See how env local variables, changing default server port, dynamic javascript, title, and meta description, and refresh getS...
October 3, 2022
NGINX ssl certificate configuration: using https with NGINX

NGINX ssl certificate configuration: using https with NGINX

Configuring SSL with NGINX takes only few minutes. This tutorial guides you through the essential steps to install SSL in the Nginx server to enable HTTPS
October 3, 2022
Next js generate sitemap dynamically

Next js generate sitemap dynamically

A sitemap is an essential component in SEO. This tutorial explains how to generate a sitemap in the next js without installing any additional packages
October 2, 2022