Next.js App Router InternationalizationNext.js App Router has a built-in internationalization support since version 10.0.0. However, this support is limited to routing. That…May 4, 2024May 4, 2024
Deploy NPM Package to GitHubSometimes we need to create an internal NPM pakcage that can be used for multiple projects or codebases. In my case, I had to create a…Apr 25, 2024Apr 25, 2024
AWS Lambda Next Execution Time using EventBridgeAWS Lamda can be integrated with many other services. Among many, EventBridge Rule is a popular choice to trigger a AWS Lambda. With…Apr 4, 2024Apr 4, 2024
How to setup Jest for Next.js App routerIn Next.js App Router, Jest is one of the most popular test libraries. In this article, I will show you how I setup Jest configuration and…Mar 30, 2024Mar 30, 2024
How to mock fetch using JestIn JavaScript, fetch is a promise based API for HTTP requests and responses. While implementing unit tests using Jest, we often need to…Mar 30, 2024Mar 30, 2024
Streamlining Context Management in Next.js ApplicationsWhile creating a complex web application using Next.js, we often need to use many useContext, which could make our root layout urgly. In…Mar 30, 2024Mar 30, 2024
JavaScript Property method vs Prototype method vs Static methodIn JavaScript, a method is a function that is a property of an object. In other words, a method in JavaScript is a function and is also a…Aug 3, 2021Aug 3, 2021
How to create a custom structural directiveDirectives are classes that add additional behavior to elements in your Angular applications. With Angular’s built-in directives, you can…Jul 26, 2021Jul 26, 2021
How to create a custom async user-exists validator in AngularIn Angular, there are two approaches to create forms. One is the template-driven way and the other way is reactive. This post will help you…Jul 19, 2021Jul 19, 2021