Build a React Typeahead with Async Suggestions and Keyboard Navigation

Quick Overview

A frontend coding question: build a React typeahead, a search input whose dropdown shows suggestions fetched asynchronously as the user types. The dropdown must support arrow keys, Enter, Escape and mouse selection, so it tests hooks, handling of out-of-order responses, accessibility and UI state.

Build a React Typeahead with Async Suggestions and Keyboard Navigation

Company: xAI

Role: Frontend Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: A frontend coding question: build a React typeahead, a search input whose dropdown shows suggestions fetched asynchronously as the user types. The dropdown must support arrow keys, Enter, Escape and mouse selection, so it tests hooks, handling of out-of-order responses, accessibility and UI state.

xAI logo
xAI
Sep 5, 2026
mediumFrontend EngineerOnsiteSoftware Engineering Fundamentals
3
0
Loading...