Blog
Knowledge sharing is my passion and I share my knowledge through my blogs. I write on topics like JavaScript, TypeScript, ReactJS, Web Development, Open Source, Python, Django, Jamstack and CMS.

How to use canvas in Web Workers with OffscreenCanvas
May 25, 2025
0
0
Lately, I have been working on a feature to capture images from media streams and scale them down to reduce their size. This helps save storage and reduce costs before uploading the images to a storage service. For this, I used Canvas to render the i...

Why Strong Basics Matter in the AI Era
March 31, 2025
0
0
AI tools have changed how we build software. They can write code, fix bugs, and even help understand large codebases. But as AI gets better, one thing remains true: the better the input, the better the output. To give AI the right instructions, you n...

How web worker works with a practical example
February 23, 2025
11
0
Ever noticed a webpage freezing during a heavy task? This happens because JavaScript runs on a single thread by default, causing a bad user experience. Users can't interact and have to wait until the task finishes. This problem can be solved using we...

How to Build a Collaborative Editor with Next.js and Liveblocks
December 13, 2024
20
1
Collaborative applications are now essential in modern software, allowing multiple users to work on the same document, design, or codebase at the same time. Think of Google Docs, Figma, or multiplayer coding platforms these tools are powerful because...

How to Use Proxy Objects in JavaScript
October 26, 2024
11
0
Objects in JavaScript are useful data types that let us define complex data with simple key-value pairs, like a dictionary. Sometimes, you might want to change how JavaScript objects work by default. This is where Proxy Objects are helpful. In this a...

What is Retrieval-Augmented Generation (RAG)?
September 21, 2024
10
0
In recent years, AI models like GPT-4 have become super popular for generating text that sounds human-like. These models are called Large Language Models (LLMs), and they’re great for writing articles, answering questions, and even creating stories. ...