Shubham Chaurasia

Shubham Chaurasia

Tech Lead @ Meta | Driving performance, reliability, scalability, and business impact for Ads Manager—the world’s largest React app powering 80% of Meta’s revenue—through cutting-edge observability, frontend frameworks, AI codemods, and top-line performance metrics. Previously, as a Tech Lead @ Groupon, led a major re-architecture with MonoRepo, GraphQL, Next.js & React Native—transforming consumer apps across web, iOS & Android, cutting maintenance costs, and accelerating feature delivery.
Class to Function Migration With AI Codemods: Migrating 10K+ Components at Scale
React Advanced 2026React Advanced 2026
Upcoming
Class to Function Migration With AI Codemods: Migrating 10K+ Components at Scale
Ads Manager powers 84% of Meta's Ads Revenue, but its decade-old codebase was stuck on React class components — blocking modern patterns like hooks, Relay, and React Compiler. Manual migration of 10k+ components class to functional component was impractical. In this talk, I'll show how we built an AI codemod pipeline using Devmate that achieved a 5x speedup, migrating 3k+ components with a 99.6% success rate. I'll cover the tradeoffs between AST and AI codemods, how to classify components by complexity for targeted prompts, and the grading/eval strategies that made non-deterministic AI agents production-ready.