Xaman

Xaman @ashsajal

About: Web developer.

Joined:
May 11, 2023

Xaman
articles - 29 total

Oversimplified Golang Channel!

TL;DR The article explains Go channels, which enable safe communication between...

Learn More 9 0Jul 28 '24

Golang Concurrency: A Fun and Fast Ride

Alright, folks, buckle up! We're going to see how concurrency in Go can make your programs way...

Learn More 12 0Jul 25 '24

Common Mistakes That Cause Unhandled Runtime Errors in React Typescript

Working with React and TypeScript (TSX) offers many benefits, including type safety and better...

Learn More 7 0Jun 28 '24

Don't write npx prisma generate command

I mean, don't write npx prisma generate command frequently. 😪😅 Don't ask "why" before reading the...

Learn More 8 0Jun 27 '24

Building a Job Search Function with Prisma in Next.js

Introduction Are you looking to build a robust job search feature for your Next.js...

Learn More 7 0Jun 27 '24

Don't Be The Next Victim! This Library Will Keep You Safe!

Helmet.js is a powerful middleware for Express.js that helps secure your web applications by setting...

Learn More 7 1Jun 21 '24

Lifetimes in Rust

Have you ever wondered how Rust manages to keep your code safe from memory-related errors? One of...

Learn More 7 0Jun 19 '24

Implementing Light/Dark Mode in Your Vite App with shadcn/ui

This article will guide you through implementing a light/dark mode feature in your Vite project using...

Learn More 21 0Jun 19 '24

Box<T> Type in Rust Allows for Heap Allocation

In the world of systems programming, managing memory efficiently and safely is a critical challenge....

Learn More 5 0Jun 18 '24

I discovered Rust's zero-cost abstraction

Today I discovered Rust's zero-cost abstraction and learned how it optimizes software efficiency...

Learn More 9 0Jun 17 '24

Don't Use useEffect in React

This article isn't clickbait; it's a thoughtful consideration of best practices in React development....

Learn More 7 2Jun 15 '24

Timing Control in JavaScript: Throttling and Debouncing

In the world of modern web development, managing user interactions and optimizing performance are...

Learn More 5 0Jun 11 '24

JavaScript call, bind and apply method usages.

Hello JavaScript developers! Today, we are going to delve into the fascinating world of function...

Learn More 6 1May 2 '24

Pass by value vs pass by reference in JavaScript

Hello there, fellow JavaScript enthusiasts! Today, we're going to dive into the intriguing topic of...

Learn More 14 20Apr 30 '24

use() hook in React 19

React 19 introduces a variety of new features, and one of the most talked-about additions is the...

Learn More 7 0Apr 29 '24

JavaScript Lexical Scope Explained shortly

Hey there, JavaScript enthusiasts! Today, let's talk about lexical scope and why it's a big deal in...

Learn More 6 0Apr 24 '24

Understanding Reconciliation in ReactJs - Keeping the Virtual DOM and the Real DOM in Sync.

Reconciliation is a key process in ReactJs that ensures the efficient and optimized updating of the...

Learn More 5 0Apr 23 '24

JavaScript Event Loop Explained in 1 minute.

Event loop is a fundamental concept in the world of JavaScript. Let me break it down for you. In...

Learn More 8 1Apr 22 '24

React.memo - Optimize React Functional Components

In React, optimizing the performance of functional components is crucial for ensuring a smooth and...

Learn More 6 1Apr 17 '24

Using Callback and useMemo Hooks in ReactJS

In ReactJS, the callback and useMemo hooks are powerful tools that can enhance the performance and...

Learn More 6 1Apr 16 '24

Understanding the useEffect Hook in React

In React, the useEffect hook is a powerful tool that allows you to perform side effects in functional...

Learn More 5 0Apr 16 '24

The useRef Hook in React: for Managing References

In React, managing references to DOM elements or values can sometimes be a challenge. However, with...

Learn More 13 0Apr 16 '24

Implementing Higher Order Components (HOC) for Functional Components in ReactJS

In ReactJS, Higher Order Components (HOC) is a powerful pattern that allows us to reuse component...

Learn More 10 5Apr 15 '24

Rust Slices: A Comprehensive Guide

In Rust, slices are a fundamental data structure that allows you to store and manipulate a sequence...

Learn More 9 2Jan 20 '24

Rust match Statement

The match statement in Rust is a powerful control flow construct used for pattern matching. It allows...

Learn More 7 1Dec 31 '23

Rust Macros Explained with Example

Macros in Rust are a powerful feature that allows you to define reusable code patterns. They are...

Learn More 5 1Dec 30 '23

SQL Math Functions with Use Cases

In this context, ABS(x): Returns the absolute value of the input value 'x'. For example, ABS(-10)...

Learn More 8 4Nov 28 '23

Top 10 State Management Libraries for ReactJS

ReactJS is a popular JavaScript library for building complex and scalable web applications. One of...

Learn More 9 2Jul 18 '23

Securing Node.js Applications with the Built-in Crypto Module: A Guide for Developers with code.

Node.js is a popular platform for building web applications, server-side scripts, and command-line...

Learn More 5 0May 12 '23