Build a Figma-Specified React Data Table

Quick Overview

Build a React data table from Figma with safe fetching, explicit request states, semantic markup, responsive behavior, and visual regression checks.

Build a Figma-Specified React Data Table

Company: Fora Travel

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: easy

Interview Round: Onsite

# Build a Figma-Specified React Data Table Build a React component that fetches data and displays it in a table matching a supplied Figma design. Explain component boundaries, request states, table semantics, responsiveness, accessibility, and how visual fidelity will be verified. ### Constraints & Assumptions - The Figma design is authoritative for visible states, but missing interaction rules must be clarified. - The component must handle loading, empty, error, and populated states. - Do not expose secrets or fetch privileged data directly from the browser. ### Clarifying Questions to Ask - What columns, sorting, filtering, and pagination are required? - Is the table usable on narrow screens? - Which design tokens and interaction states are defined in Figma? ```hint Model states before markup Represent request and table states explicitly so the visual implementation cannot hide missing behavior. ``` ### What a Strong Answer Covers - Data-fetching boundary, cancellation, validation, and error handling. - Semantic table structure, component decomposition, keys, and state. - Figma tokens, responsive overflow, loading, empty, and error visuals. - Keyboard access, screen-reader labeling, and visual regression checks. ### Follow-up Questions 1. How would server-side pagination alter cache and selection state? 2. How would you preserve table usability when a translated header is much longer?

Overview: Build a React data table from Figma with safe fetching, explicit request states, semantic markup, responsive behavior, and visual regression checks.

|Home/Software Engineering Fundamentals/Fora Travel
Fora Travel logo
Fora Travel
Aug 31, 2026
easySoftware EngineerOnsiteSoftware Engineering Fundamentals
2
0

Build a Figma-Specified React Data Table

Build a React component that fetches data and displays it in a table matching a supplied Figma design. Explain component boundaries, request states, table semantics, responsiveness, accessibility, and how visual fidelity will be verified.

Constraints & Assumptions

  • The Figma design is authoritative for visible states, but missing interaction rules must be clarified.
  • The component must handle loading, empty, error, and populated states.
  • Do not expose secrets or fetch privileged data directly from the browser.

Clarifying Questions to Ask Guidance

  • What columns, sorting, filtering, and pagination are required?
  • Is the table usable on narrow screens?
  • Which design tokens and interaction states are defined in Figma?

What a Strong Answer Covers Guidance

  • Data-fetching boundary, cancellation, validation, and error handling.
  • Semantic table structure, component decomposition, keys, and state.
  • Figma tokens, responsive overflow, loading, empty, and error visuals.
  • Keyboard access, screen-reader labeling, and visual regression checks.

Follow-up Questions Guidance

  1. How would server-side pagination alter cache and selection state?
  2. How would you preserve table usability when a translated header is much longer?
Loading comments...