The Forge LogoThe Forge Logo

© 2026 Youssef Elmohamadi The Forge. All rights reserved.

Blog Posts

Understanding State Snapshots & Batching in React
React
1 month ago
5 min read

Understanding State Snapshots & Batching in React

Ever called setState multiple times and wondered why React didn't update the value instantly? The answer isn't that useState is simply "asynchronous". It's all about State Snapshots and Batching—two core concepts that make React fast while keeping your UI consistent.

55
useRef in React: The Magic Behind That Tiny Object
React
1 month ago
5 min read

useRef in React: The Magic Behind That Tiny Object

Most developers use useRef, but few understand what happens behind the scenes. Let's uncover the simple object powering one of React's most useful hooks

114
The Next.js 15 SEO Nightmare: How to Fix the Streaming Metadata Issue
Next.js
5 months ago
5 min read

The Next.js 15 SEO Nightmare: How to Fix the Streaming Metadata Issue

Wondering why your <meta> tags are injected outside the <head> in Next.js 15? Discover the root cause behind this streaming bug and the quick next.config.js solution.

212
Understanding React Fiber
React
5 months ago
5 min read

Understanding React Fiber

Learn how React Fiber solves UI lag by breaking rendering into smaller tasks.

273
Improving React Performance with useTransition
React
5 months ago
5 min read

Improving React Performance with useTransition

Learn how to use useTransition to split updates and defer heavy tasks to keep the UI responsive.

279