
Matej Minar
Matej Minar is an Engineering Manager at Sentry, where he works on Agent Tracing, helping developers understand what their AI agents are doing in production. He joined Sentry seven years ago as an engineer focused on React, and later moved into engineering management. He also organizes meetups and teaches kids web development. And yes, he has written his fair share of expensive useEffects.
Your LLM Provider Loves This useEffect
React Day Berlin 2026
Dec 4, 9:55
Your LLM Provider Loves This useEffect

The UI shows one AI summary. Your bill shows five. React devs have spent years learning that effects re-run, but now some of those effects start an agent: a loop of model and tool calls you pay for every time. In this lightning talk, we'll walk through a few ways React code quietly re-runs an agent. You'll leave with simple fixes and a way to catch duplicate runs in production before your LLM provider's invoice does.