Debounce Rapid Events
Debounce rapid-fire events like scroll, resize, and input
CLAUDE.md
Debounce rapid-fire events like scroll, resize, and keyup. Without debouncing, these events fire dozens of times per second and can freeze the UI or flood the server.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.