Premium

Angular Debounced Search with Fake API (RxJS)

By FrontendAtlas Editorial · Updated Nov 11, 2026

Challenge summary

Implement an Angular debounced search using RxJS. Use debounceTime + distinctUntilChanged + switchMap to cancel stale requests, and model loading, error, and empty states so the UI feels like a real search box.

What you'll practice

  • Use a standalone Angular component as the root component.
  • Render a search input where the user can type a query.
  • Do NOT call the fake API on every keystroke; debounce input so the search runs 500ms after the user stops typing.
  • Perform a fake async search call (e.g. in-memory array) that returns results based on the query text.
  • Show a loading state while the debounced search request is in flight.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion. It also runs as an Interview Pressure Mode, in rounds that add requirements the way an interviewer does.

Free related practice

Public interview reports: PracHub (May 2026) · Waymo frontend interview questions

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.

Premium is $24 a month or $99 a year, less in many countries.