Posts
Understanding the Conditional (Ternary) Operator in JavaScript
JavaScript offers several ways to write conditional statements, but one of the most concise and commonly used methods is the ternary operator. Often referred to as a shorthand for if-else, the ternary operator allows you to write clean and compact conditional expressions.
September 10, 2024
Understanding the Nullish Coalescing Operator (??) in JavaScript
JavaScript is a language that continuously evolves, introducing new features that enhance its capabilities and make coding more intuitive. One of the relatively recent additions is the nullish coalescing operator (??). If you've been using JavaScript for a while, you've likely encountered scenarios where you need to assign default values to variables when they are null or undefined. This is where the ?? operator shines.
September 5, 2024
Step by step guide to setup infinite loading in NextJs
In this post, we will learn how to implement infinite loading in a NextJs application using the Intersection Observer API.
August 29, 2024
Introduction to MDX
MDX is a powerful tool that allows you to write JSX in your Markdown files. This post will introduce you to the basics of MDX.
August 29, 2024
Introduction to NextJs
NextJs is a powerful React framework that makes it easy to build server-rendered React applications. This post will introduce you to the basics of NextJs.
August 28, 2024