How I used agent-browser as an API discovery tool, contributed network inspection features upstream, and turned that investigation into a reusable Chrome Extension and MCP workflow for live flight search.
Learn what prop drilling is in React, why passing props through multiple component layers causes maintenance issues, and how to solve it using Context API or state management tools.
Understanding when to use local state, Context API, or Zustand for state management in React applications. Learn the scope, best practices, and practical examples for each approach.
Learn how to fix stale closure issues in React using three key techniques: dependency arrays, functional updaters (setState(prev => ...)), and useRef for latest values. Includes proper cleanup patterns for async operations to prevent memory leaks and race conditions.
Understand how React callbacks capture values from the moment they are created, causing stale state issues in setInterval, useEffect, and event handlers. Learn to fix this using functional updaters and refs to always access fresh values.