# Programmatic Filter

Drives the filter from code: registers an `onChange` handler that logs the match count, then calls `setFilter({ userId: "admin" })` to show only one user's activity.
