← Coinbase Interview InsightsFrontend Engineer

Coinbase·Frontend Engineer·Take-home Assignment·Intermediate

IntermediatePrefer not to say
May 2026

Summary

Take-home assignment for a frontend role at Coinbase. Pretty straightforward brief: build a small React app that pulls from a local JSON file and renders blog posts. Nothing wild, but the emphasis on component structure made me second-guess my folder layout more than I expected.

Questions Asked (1)

Q1

Build a small React application that reads blog post data from a local JSON file and displays a list of posts, each showing its title and body. Pay attention to component structure and basic styling.

Technical Trade-offsSystem Design
Author's notes

I spent way too long debating whether to split things into a PostList and PostItem component or just keep it flat.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying requirements and assumptions, then outline a component-based architecture that separates data fetching, list rendering, and individual post display. Emphasize clean code organization, basic styling for readability, and mention potential trade-offs like data loading strategies and scalability.

Pro tip: Mention that you would abstract the data fetching into a custom hook or service layer to make it easy to swap the local JSON for a real API later, showing foresight about production readiness.

1. Clarify Requirements and Assumptions

Ask clarifying questions about the JSON structure, expected number of posts, and any design constraints. State assumptions like using Create React App or Vite, and functional components with hooks.

2. Design Component Hierarchy

Propose a component structure: an App component that fetches data, a PostList component to map over posts, and a Post component to display title and body. Mention separation of concerns and reusability.

3. Implement Data Fetching and State Management

Describe how to import the JSON file directly or fetch it asynchronously, and manage state with useState and useEffect. Discuss error and loading states for robustness.

4. Apply Basic Styling

Explain styling approach: CSS modules, styled-components, or plain CSS. Focus on readability: spacing, typography, and responsive layout for the list.

5. Discuss Trade-offs and Scalability

Highlight trade-offs: direct import vs. fetch, client-side rendering vs. server-side, and how the design could scale to pagination or real API integration.

Key Points to Mention

  • Component reusability and separation of concerns (e.g., PostList vs. Post)
  • State management with hooks (useState, useEffect) and handling loading/error states
  • Data fetching strategy: static import vs. asynchronous fetch, and implications
  • Styling approach: CSS-in-JS vs. CSS modules vs. plain CSS, and maintainability
  • Scalability considerations: pagination, virtualization, or API integration
  • Accessibility basics: semantic HTML, alt text, and keyboard navigation

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.