My Blog
Writing about React.js, Next.js, Web3 and building modern web apps.

What Is Phaser
Phaser 4: What It Is and How to Use It in React.js / Next.js If you’ve ever wanted to build a browser game — from a simple platformer to a full 2D world with ph…

Why Your Transaction Shows “Failed” But Your Money Is Already Gone
A deep dive into two silent bugs that combine to show a false failure while your transaction already landed on-chain. @mirbasit01 The Scenario You submit a tran…

Transaction shows “Failed” but money was already gone
Transaction shows “Failed” but money was already gone

What Is Account Abstraction?
Account Abstraction means: Turning a normal wallet account into a programmable smart contract account. In simple words: Instead of using a normal EOA wallet (li…

React Performance Optimization: useMemo vs useCallback
useMemo vs useCallback Understanding when to cache values and when to cache functions Introduction React provides two important hooks for performance optimizati…

Abdul Basit — Frontend & Blockchain Developer
mirbasit01 Abdul Basit Frontend & Blockchain Developer Hey there, I’m Mir Basit! I’m a passionate Frontend & Blockchain Developer who loves building modern and …

Node.js Express MongoDB backend API setup
Node.js Express MongoDB Quick Reference Guide Quick Start Commands # Initialize project npm init -y # Install dependencies npm install express mongoose # Start …

Understanding HttpOnly Cookies: Your Frontend’s Secret Weapon Against XSS Attacks
Introduction In the world of web security, cookies are both essential and vulnerable. They store sensitive information like session tokens and authentication da…

Web2 vs Web3: The Evolution of the Internet — A Complete Guide
Web2 vs Web3: The Evolution of the Internet — A Complete Guide Introduction The internet is evolving, and we’re witnessing a fundamental shift from Web2 to Web3…

Luck-Based Decision Maker
Let Fate Decide: When You Can’t Make Up Your Mind, Let Luck Choose for You 🎲 The Story Behind a Simple Yet Powerful Decision-Making Tool Have you ever found yo…