Tech Blog | Chandrashekhar Kachawa on Web Development & Software Engineering

Blog

How Does React's useState Really Work?

A deep dive into the internal mechanics of the useState hook. Discover the 'memory cell' model that allows functional components to have state and why the Rules of Hooks are a technical necessity.

How Does React's useEffect Really Work?

An under-the-hood look at the useEffect hook. Learn how React schedules effects, how the dependency array really works, and the critical role of the cleanup function.

How Does React's useContext Really Work?

Explore the mechanics behind the useContext hook and the Context API. Learn how it solves prop drilling through a provider model and a subscription-based system.